Sign in to follow this  
Followers 0
cypher175

set a variable in Child Autoit.exe from the Parent Autoit.exe ..?

2 posts in this topic

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&":\")

Share this post


Link to post
Share on other sites



See help: Command Line Parameters. This may help you.

;-))

Stefan

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0