August 22nd, 2003, 03:25 PM
|
#1 (permalink)
|
| Junior Member
Join Date: Aug 2003
Posts: 17
| Automating maintenance
Hi all,
Thank you for reading and trying to answer this query.
As you know batch files save alot of time for administrators of computers, i am writing a bat file which is meant to run chkdsk.exe (scandisk utility) with the following swtiches
chkdsk /f/r F:
My problem is that when i run the batch file it says "can't run the chkdsk now, cos drive is in use m8, can i run it at startup?"
I want to auto answer this question 'yes' i have tried /y, and placed it around the end, before and after the drive letter on another line. I have tried the -i-y switch again same places as /y, also at the beginning of the file.
Can someone plz help me, as this is getting quite tedious now.
Thank you.  |
| |