Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-17-2003, 07:57 AM   #1
Member (7 bit)
 
Join Date: Dec 2002
Location: USA
Posts: 120
Send a message via AIM to Brassman101
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
Brassman101 is offline   Reply With Quote
Old 03-17-2003, 08:39 AM   #2
Member (10 bit)
 
Join Date: Jul 2002
Location: Trivandrum, India
Posts: 800
Send a message via Yahoo to pillainp
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/
pillainp is offline   Reply With Quote
Old 03-17-2003, 09:54 AM   #3
Member (7 bit)
 
Join Date: Dec 2002
Location: USA
Posts: 120
Send a message via AIM to Brassman101
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
Brassman101 is offline   Reply With Quote
Old 03-19-2003, 08:37 AM   #4
Member (9 bit)
 
Join Date: Jan 2001
Location: Kalamazoo, MI
Posts: 314
Send a message via ICQ to sdkramer Send a message via AIM to sdkramer Send a message via Yahoo to sdkramer
you could use echo y|commandhere
sdkramer is offline   Reply With Quote
Old 03-20-2003, 05:24 AM   #5
Ride 'em Cowboy
 
EzyStvy's Avatar
 
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
EzyStvy is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:43 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2