Bob Smith
2004-02-26 04:24:23 UTC
I'm trying to run some script from the "run" line in scheduled tasks in win
2000. I have a program I want to run automatically (ad-aware) I've been able
to figure out 3 lines of code which will run the required program and do the
required maintenance. trouble is, I'm not that tech savy and I've been told
I need to run the code as a "batch file", I'm not sure how to do that.
The 3 lines of code I need to run are as follows:
"C:\Program Files\Lavasoft\Ad-Aware 6\Ad-Aware.exe" +c +1
"C:\Program Files\Lavasoft\Ad-Aware 6\Ad-Aware.exe" C:\ +a +1
"C:\Program Files\Lavasoft\Ad-Aware 6\Ad-Aware.exe" D:\ +a +1
The first line scans the registry, the second line scans the files on C
drive, the third line scans the files on D drive. when I run them separately
from the "run" line in scheduled tasks, they do the required function OK,
however I need them to all work together. Someone told me they need to run
in a "batch file" I'm not sure what that means or how to do it. Can anyone
offer some help?
Thanks
Bob
2000. I have a program I want to run automatically (ad-aware) I've been able
to figure out 3 lines of code which will run the required program and do the
required maintenance. trouble is, I'm not that tech savy and I've been told
I need to run the code as a "batch file", I'm not sure how to do that.
The 3 lines of code I need to run are as follows:
"C:\Program Files\Lavasoft\Ad-Aware 6\Ad-Aware.exe" +c +1
"C:\Program Files\Lavasoft\Ad-Aware 6\Ad-Aware.exe" C:\ +a +1
"C:\Program Files\Lavasoft\Ad-Aware 6\Ad-Aware.exe" D:\ +a +1
The first line scans the registry, the second line scans the files on C
drive, the third line scans the files on D drive. when I run them separately
from the "run" line in scheduled tasks, they do the required function OK,
however I need them to all work together. Someone told me they need to run
in a "batch file" I'm not sure what that means or how to do it. Can anyone
offer some help?
Thanks
Bob