| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Fri Apr 16, 2004 3:37 am Post subject: How can I tell is RUN is done ? |
|
|
Hi
I have a RUN cmd.exe /c dir ... and need to know when its done, and ideas?
I don't want to run it externally in another program.
Its not listed (CMD.EXE) in the task list. |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Fri Apr 16, 2004 3:42 am Post subject: |
|
|
I tried:
| Code: | | info Return code was @retcode() |
before and(or) after (or anywhere)and it allways says same answer ZERO pritty sad  |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Fri Apr 16, 2004 5:21 am Post subject: |
|
|
Anyone know what the below is for? :
O: Offline
It's in the @FILE() help section..
I was wondering if it would tell you is a text file is busy being written to.
hmm  |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Fri Apr 16, 2004 5:50 am Post subject: |
|
|
Nevermind, I think a found a way to tell if RUN CMD.EXE has ended its task, its not what I wanted, but it will do the very same thing...
Thanks anyways  |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Apr 16, 2004 6:14 am Post subject: |
|
|
If you use the WAIT parameter for your RUN command then your script won't continue until the program
started by RUN has finished.
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Fri Apr 16, 2004 11:08 pm Post subject: |
|
|
I'm using 'WAIT 35 (reason is long story ) and with WAIT 35, it keeps going on through the script..
I found a perfect solution, it just wasn't the solution I expected (if that makes any sense )  |
|
| Back to top |
|
 |
|