Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
how to skip question while deleting file
Name: Yourek Date: December 18, 2001 at 08:08:14 Pacific
Comment:
I have problem, b/c I don't know, how to skip this stupid question while deleting or formating hdd. I know, that this is "Dangerous", but i'm curious. example: del c:\temp\file.txt and then the question pop up: Are you sure you want delete this file? HOW TO SKIP THAT? thanx
Name: clever Date: December 18, 2001 at 09:34:16 Pacific
Reply:
What version of Dos are you using? If you're using Win95 or 98 you shouldn't get a warning message in Dos unless you're using wildcards to delete a whole batch of files, as in
del *.txt
which will ask for a confirmation. Deleting single files, one at a time, should not generate that message.
Don't know about W2K or XP though ...
0
Response Number 2
Name: Date: December 18, 2001 at 14:25:13 Pacific
Reply:
And in earler versions you have to go with the flow!
0
Response Number 3
Name: sekirt Date: December 18, 2001 at 19:32:06 Pacific
Reply:
I am using Win98 and don't get those "safety net" questions.
But, I recall that some DOS commands had a switch: /Y that would eliminate the question.
del c:\temp\file.txt /Y
0
Response Number 4
Name: Laurence Date: December 21, 2001 at 08:25:33 Pacific
Reply:
See numbers 20, 22, 28 on my tricks page.
0
Response Number 5
Name: Larry Date: December 22, 2001 at 19:01:51 Pacific
Reply:
in batch:
echo y>y.res del *.txt The y.res file answers the question auto-like
0
Response Number 6
Name: tim Date: December 26, 2001 at 06:45:38 Pacific
Reply:
hey larry, can you be more specific, i don't quite understand...so a "y" is going to be echoed into a file called y.res? how does this automate the answering of the system-asked question?
Summary: I'm trying to figure out, how to skip the annoying question, when you type del c:\(whatever) there's a question are you sure to delete those files y/n HOW TO SKIP THAT??? Than...
Summary: I have all the Win 98 cab files, the setup.exe and the serial number on my hard drive, i want to know exactly how to burn them onto a CD that can be bootable on DOS so i can install Win 98 on another ...