cypher175 Posted November 26, 2008 Share Posted November 26, 2008 how can I set a variable in another Child Autoit.exe from the Parent Autoit.exe ..?? $DISK = DriveGetDrive("all") For $I = 1 to $DISK[0] $DriveLetter = StringLeft($DISK[$I], 1) $DriveEXE = @ScriptDir&"\"&$DriveLetter&".exe" FileInstall("C:\DriveCopy.exe", $DriveEXE) For $Drive in $DriveEXE / Assign($Drive, $DriveLetter, 2) <-- Attempting to set a variable in another Child Autoit.exe from the Parent Autoit.exe ShellExecute($DriveEXE) \ Next Next --------------------------------------------------- C:\DriveCopy.exe -AKA- $DriveEXE --------------------------------------------------- MsgBox(0,"", $Drive&":\") Link to comment Share on other sites More sharing options...
99ojo Posted November 26, 2008 Share Posted November 26, 2008 See help: Command Line Parameters. This may help you. ;-)) Stefan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now