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 do I delete a file anywhere on the disk?
Name: George Leiter Date: February 23, 2000 at 04:31:24 Pacific
Comment:
I'm looking for a line of DOS that will delete a file regardless of what directory a little pixie might hide it in. That is, one that will search directories, find the file, then delete it.
Name: phil Date: February 23, 2000 at 05:19:07 Pacific
Reply:
have thought of this before. A small batch file may do the trick assuming you know the name of the file to be deleted. call the file at the prompt with pixie xyz.yz Now pixie.bat would do a sytem search for xyz.xyz and store the path in a second varaible. If Pixie is really smart will check and remove +h +r attribs. Now Pixie.bat can simply del %path %1
The only other batch file i can think of calls format C: - a bit much BUT it does delete that file :=)
Let me know how you go - would be a very handy batch file to have
Cheers
Phil
0
Response Number 2
Name: James D. Buskirk Date: February 25, 2000 at 10:42:09 Pacific
Reply:
if you have norton utilities for dos, you can use WIPEINFO to do it. use the /s option for subdirs, and /d option to only do a nrmal delete (not a wipe).
Summary: I have a couple directories in Dos3.3 with a triangle like charachter in their name how do I delete their contents and then the directories themselves...
Summary: Easy question: How do I open a DOS prompt? I have a downloaded file with an invalid, superlong name that cannot be deleted or moved by conventional means. right clicking on the file doesn't work. I...