View Full Version : Still Unanswered Question
Brassman101
03-17-2003, 08:57 AM
I have asked my OS Tech Teacher and he couldnt give me an answer so i turn here(which i should have done right away) ...
In DOS, i dont want it to ask me ARE YOU SURE....??? like when you format Are you sure you want to format ? comes up....
Is there a switch that automatically executes the command???
If someone knows i'd be forever greatful... being a batch file writer.
Thanks in advance
Brassman
pillainp
03-17-2003, 09:39 AM
Try out the switch listed below:
<B>/AUTOTEST</B> Formatting proceeds without further user input or warning messages. All sectors previously marked bad on the hard drive are retested (i.e. equivalent to including the /C switch)². The AUTOTEST switch can be used in conjunction with the /U, /S, and /F switches. It is not compatible with /Q (causing an error message) and /V is ignored.
Also try this siite for a list of all MSDOS 7 commands:
http://home7.inet.tele.dk/batfiles/msdos7/
Brassman101
03-17-2003, 10:54 AM
Thanks so much... how about a switch for other commands like instead of pressing "y" all the time to confirm ???
That was more along the lines of what i was looking for but the autotest was also very helpful... thanks so much and i hope there is one for that
brassman
sdkramer
03-19-2003, 09:37 AM
you could use echo y|commandhere
EzyStvy
03-20-2003, 06:24 AM
At a DOS prompt you can type" copy /? for example. Part of the help will show you:
/Y ->Suppresses prompting to confirm you want to overwrite an existing destination file.
Copy c:\xxx.xxx d:\ /y
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.