| 1. |
Solve : Bat file for chkdsk for other logical drives !!!? |
|
Answer» Hello FOLKS i want to make a batch file that would Check the Disk of my other partition irrespective if they are scheduled for the chkdsk and that provide a report.log of the event of the chkdsk. Without testing, why wouldn't this work? Almost promising but it didn't work my friend, it didn't even start the chkdsk process.Okay, try this ONE then: Code: [Select]echo y>confirm.txt ( chkdsk /r <confirm.txt ) > output.txt shutdown /r Quote from: Raven19528 on November 07, 2011, 09:27:55 AM Okay, try this one then: Sorry mate that didn't work too, it restarted after 30 sec, but didn't do the chkdsk, too bad. It created log file CALLED confirm.txt and output.txt. What does you're original code show you when the chkdsk STARTS running? I'll need to do a little tinkering to see what's going on with everything, but that information will help. Quote from: Raven19528 on November 08, 2011, 11:47:21 AM What does you're original code show you when the chkdsk starts running? Code: [Select]echo y> confirm.txt chkdsk /r <confirm.txt shutdown -r| This is the code , it actually starts the countdown to 30 sec, and then reboots and does the chkdsk, but it doesn't produce an output report or log, that is what i want.By running CHKDSK at boot, all the Windows services are not available. GO to Control Panel and double click Administrative Tools Double click Event Viewer Double click Application log Look down the Source column and double click the first Winlogon entry you find. The CHKDSK log should be there. Quote from: Sidewinder on November 09, 2011, 07:02:47 AM By running CHKDSK at boot, all the Windows services are not available. Nope that too doesn't work , as you mentioned the i.e., Code: [Select]Go to Control Panel and double click Administrative Tools Double click Event Viewer Double click Application logYou may have omitted a step: Quote Look down the Source column and double click the first Winlogon entry you find. The CHKDSK log should be there. If not, what didn't work? Did you not find admin tools in the control panel? Did you not find the event viewer? Did you not find the Application log? The procedure is best followed immediately after CHKDSK is run during the boot process. Otherwise you may have to look deeper into the log for a Winlogon entry. |
|