Cyrael Posted August 2, 2011 Share Posted August 2, 2011 I'm trying to make a program that, when handed a source directory, and a destination directory, it creates several child processes that are given file source and destination paths as it's parameters, so that it basically makes individual threads for each file being moved. So the master file is as follows: $sourceDir = InputBox("Source Directory", "Navigate to Source Directory", @workingdir) $targetDir = InputBox("Target Directory", "Navigate to the Target Directory", $sourceDir) $params = $sourceDir & ' ' & $targetDir Run(@workingdir & "\Runner.exe " & $params, @workingdir) And the Runner file looks like this (obviously not actually what it ends up doing, I don't need help with this) MsgBox('', '', "Starting") if ($cmdLine[0] > 0) Then For $i = 0 to $cmdLine[0] MsgBox('','', $cmdLine[$i]) Next EndIf Anyone know how to do this? The Run(@workingdir & "\Runner.exe " & $params, @workingdir) is the line that needs work. Link to comment Share on other sites More sharing options...
Cyrael Posted August 2, 2011 Author Share Posted August 2, 2011 Ok... wow that's embarassing... that works right now... I just wrote that assuming it wouldn't... 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