|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
|
Still Unanswered Question
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 |
|
|
|
|
|
#2 |
|
Member (10 bit)
|
Try out the switch listed below:
/AUTOTEST 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/ |
|
|
|
|
|
#3 |
|
Member (7 bit)
|
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 |
|
|
|
|
|
#4 |
|
Member (9 bit)
|
you could use echo y|commandhere
|
|
|
|
|
|
#5 |
|
Ride 'em Cowboy
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|