All -
I have a DOS Database program that goes thru a manual re-indexing process. I have been able to automate the process, but my script will not wait until the process has been completed to end.
I know the filename of the last index file created. How can i setup a IF Then statement to check the time/date of this last file - and if it has been changed - continue to execute the script - if not, to continue to check if it has been changed.
I hope this is making sense.
Thanks for the help !
Shawn
DOS Usage
-
- Posts: 46
- Joined: Tue Apr 27, 2004 7:50 pm
DOS Usage
If you are using the Run Program/Open Document action then you should be able to select "Wait until the application exists" from the Wait Options drop-down list. Then you can use the "Assign Exit Code to Variable" option and then use an If statement to test if the exit code variable is set to 0 and perform whatever action you like after it has finished.
Hope this helps.
I also might not be understanding your problem.
Let me know.
Hope this helps.
I also might not be understanding your problem.
Let me know.