Computing.Net > Forums > Disk Operating System > how do I delete a file anywhere on the disk?

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?

Reply to Message Icon

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.



Sponsored Link
Ads by Google

Response Number 1
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).


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: how do I delete a file anywhere on the disk?

how do i install a printer on dos www.computing.net/answers/dos/how-do-i-install-a-printer-on-dos/14874.html

how do I delete this dir www.computing.net/answers/dos/how-do-i-delete-this-dir/348.html

how do I delete in dos www.computing.net/answers/dos/how-do-i-delete-in-dos/11396.html