i was trying to create a script to Run CHKDSK on a system and avoid all prompts
Below is what I have sofar which doiesn't work. Also if I could get it to work it would still require the "Y" when the prompt comes up saying that it cannot chkdsk this drive because it is in use, do you want to run chkdsk during the next restart. Anyone have any ideas?
c:
cd \temp\vncscan
CHKDSK C: /r > C:\CHKDSK.txt