Mackintire
2[H]4U
- Joined
- Jun 28, 2004
- Messages
- 2,986
This is a repost, as no one has answered the question as of yet.
So I have a batch file that I am calling using the scheduled task manager to run scandisk on a machine after hours.
The contents of the batch file are:
echo y > confirm.txt
echo y|chkdsk C: /f /r /x < confirm.txt
echo y|chkdsk E: /f /r /x < confirm.txt
echo y|chkdsk F: /f /r /x < confirm.txt
shutdown -r -t 10
The batch file created the txt file, rebooted but only scanned C:
Can you tell me what's wrong with this syntax?
So I have a batch file that I am calling using the scheduled task manager to run scandisk on a machine after hours.
The contents of the batch file are:
echo y > confirm.txt
echo y|chkdsk C: /f /r /x < confirm.txt
echo y|chkdsk E: /f /r /x < confirm.txt
echo y|chkdsk F: /f /r /x < confirm.txt
shutdown -r -t 10
The batch file created the txt file, rebooted but only scanned C:
Can you tell me what's wrong with this syntax?