|
Answer» Hi PEOPLE,
I need to create a script that execute the chkdsk automatically after boot, but i dont want the user press y to it.
Example: C:\>chkdsk /f The TYPE of the file system is NTFS. Cannot lock current drive.
Chkdsk cannot run because the VOLUME is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
I want the answer as 'y' automatically, How can i do it?
Tks and best regards, Rafa.Code: [SELECT]echo Y | chkdsk /f
|