"eraserl.exe" syntax problem

midaro

New Member
G'Day,
I'm after some help on syntax for running Eraser through Windows Scheduled Tasks.
No matter what I enter in the "Run:" field, it will either give me an error message ("incorrect command line"), or display "could not start".

What I want to do, is erase unused disk space on drive C, using DOD_E and showing results.

By my reading of the Help file, the syntax should be:
eraserl -disk C:\ –method DoD_E -results
or...
"C:\Program Files\Eraser\eraserl.exe" -disk C:\ –method DoD_E -results
...in the Windows Scheduled Tasks "Run:" field.

I have tried many different combinations and I have searched the forums.
Can anyone help?

Cheers
 

Kythe

Member
midaro said:
G'Day,
I'm after some help on syntax for running Eraser through Windows Scheduled Tasks.
No matter what I enter in the "Run:" field, it will either give me an error message ("incorrect command line"), or display "could not start".

What I want to do, is erase unused disk space on drive C, using DOD_E and showing results.

By my reading of the Help file, the syntax should be:
eraserl -disk C:\ –method DoD_E -results
or...
"C:\Program Files\Eraser\eraserl.exe" -disk C:\ –method DoD_E -results
...in the Windows Scheduled Tasks "Run:" field.

I have tried many different combinations and I have searched the forums.
Can anyone help?

Cheers
I tried your method, and it works in scripts but, as you say, not from the "Run" field.

I'd suggest using the DOS path instead of "C:\Program Files\Eraser\eraserl.exe":

C:\progra~1\eraser\eraserl -disk c:\ -method DoD_E -results

That seems to work for me.
 
Top