Computing.Net > Forums > Disk Operating System > Search and delete various files usi

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.

Search and delete various files usi

Reply to Message Icon

Name: alf39
Date: March 30, 2004 at 20:58:22 Pacific
OS: dos
CPU/Ram: n/a
Comment:

How do I write a batch file that will search all directories and sub-directories for files with specific extensions and then delete those files while leaving the directories, sub-directories, and remaining files intact? I want to delete multiple types of files simultaneously and I need to do this in a pure DOS environment.




Sponsored Link
Ads by Google

Response Number 1
Name: Mick C
Date: March 31, 2004 at 04:07:14 Pacific
Reply:

What is your main working environment?

You talk about a Pure DOS environment, which leads me to beleave that some version of Windows is in use??

Batch programing for Windows 95 to ME is differant to Windows NT - XP (which do not in fact have any DOS as such!)

PowerLoad Home Page
Please reply with a message to let us all know we are on the right track with you


0

Response Number 2
Name: alf39
Date: March 31, 2004 at 18:20:09 Pacific
Reply:

I am using a Windows 98 Boot disk to boot the system into ms-dos.


0

Response Number 3
Name: Tubesandwires
Date: April 1, 2004 at 18:48:58 Pacific
Reply:

Huge amount of information.

http://home7.inet.tele.dk/batfiles/


0

Response Number 4
Name: Renaissance Man
Date: April 7, 2004 at 20:11:56 Pacific

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: Search and delete various files usi

Search and Delete batch file www.computing.net/answers/dos/search-and-delete-batch-file/6363.html

Batch files www.computing.net/answers/dos/batch-files/10280.html

searching folders & deleting files www.computing.net/answers/dos/searching-folders-amp-deleting-files-/13283.html