chkdsk /f c: < yes.txt
chkdsk /f d: < yes.txt
chkdsk /f e: < yes.txt
chkdsk /f f: < yes.txt
chkdsk /f g: < yes.txt
chkdsk /f h: < yes.txt
::%windir%\system32\shutdown.exe -f -s -t 0
%windir%\system32\shutdown.exe -f -r -t 0
The above batch file code runs chkdisk for each partition on the drive.
The part of the code that is worth note is the part on each line after
the <.
It is required because when applied to some partitions chkdsk must be
run after rebooting.
This code redicets the output of chkdsk to an external text file which
contains only the letter Y.
If you have any questions or problems with any aspect of this site, please feel
free to contact me directly [EMAIL PROTECTED] Please do not post personal
issues directly to the group.
To unsubscribe from this list, send an email to [EMAIL PROTECTED]
Thank you for using A-1 Computer Tech
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/A-1-Computer_Tech/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/