|I'm attempting to make a batch file that will restart the computer and run a disk check and safe the log file on the desktop.|
I attempted running the file and I got errors because I didn't have the path in ""
I got the error fixed, but the batch begin giving me an access denied. error. I trimmed the batch down to the simple chkdsk d: /I /C (to make it run quickly and run on my restore drive)
I continue to receive the error but I can type the same thing in a command prompt and it works perfectly. This eliminates it being a permissions error, or a the drive being locked.
I've restarted several times, and have no clue why it won't run in a batch file.
The Computer Dr