Hey,
komischerweise funktioniert das Script nicht, wenn ich es in meiner WinPE_SE starte (x64). Dort wandelt er nämlich das Object $AList in den Typ Int32 (MsgBox(0, "Typ", VarGetType($AList))) um.
Hat jemand ne Idee, warum das so ist? Oder liegt das daran, dass die Umgebung in der PE 64bit ist und die meines Desktops 32bit?
Global $AList = ObjCreate("System.Collections.ArrayList")
MsgBox(0, "dfsf", "adad")
For $i = 65 To 90 ; ASCII digits
If Not FileExists(Chr($i) & ':\') Then
MsgBox(0, "dfsf", VarGetType($AList))
$AList.add(Chr($i) & ':')
EndIf
Next