Synchronous script usage

wcfii

New Member
Hello,

version 6.2.0.2996 (and others - same results)
Need to run eraser in a dos CMD script and wait for completion.
Here's the script line:

"C:\Program Files\eraser\Eraser.exe" erase unused=T:\

When run in batch mode, the task is created and runs immediate.
The script waits, and also a shadow window appears with "Press any key to continue".
You must kill this window or press a key to return control to the script.
When the task completes the window remains and the script is still blocked.

We need to continue the script when and ONLY when the task completes.

Thank You
 
Back
Top