PDA

View Full Version : Run.Wait ?


tucker
06-10-2005, 09:24 AM
So I have a command to run a executable and ideally I want to have the copy folder function copy all the newly created start menu folder and its contents into a custom folder I have created once the executable installs the program. the problem that I am running into is that the copy function doesnt wait until the executable is done even though i tell the file.run command to "wait". Is there any way around this. I want to have this program install and "then" copy the folders over after......all in one command, is this feasible?

csd214
06-10-2005, 09:52 AM
Maybe this SUF70 thread (http://www.indigorose.com/forums/showthread.php?t=11367) can give you some ideas?

ovm
06-10-2005, 04:27 PM
it also can happen that the executed program is running (calling) a secondary program for the installation...
So the run.wait will only wait for the first program to stop. And so it does...

gr mario