Page 1 of 1

Executing command

Posted: Tue Jun 13, 2006 12:08 pm
by bigtimery3k
Can i use the run program command to run a command i would normally run from the windows command prompt?

Posted: Tue Jun 13, 2006 2:41 pm
by jimo
yes

Posted: Tue Jun 13, 2006 4:23 pm
by bigtimery3k
I am executing the command but the command is giving an error. Is there a way i can see what the error is?

Posted: Tue Jun 13, 2006 4:28 pm
by jimo
FIrst try setting the current working directory using the call dll command calling SetCurrentDirectoryA in kernel32.dll.

If it still fails write out a batch file with a wait run the batch file from your installer and read the screen.

Posted: Tue Jun 13, 2006 4:30 pm
by bigtimery3k
Can i pass variables from the installer to the batch file

Posted: Tue Jun 13, 2006 4:32 pm
by jimo
You can write the batch file on the fly using the Write to Text File command.

Posted: Tue Jun 13, 2006 4:36 pm
by bigtimery3k
thanks. trying it out.