Help needed with batch files.

C

Chris Mitchell

I have never written a batch file before, and would appreciate any step by
steps advice anyone can give as to how to do this.

I would like to create a batch file to find and delete all instances of
specific files, e.g. filename1.xxx, filename2.xxx, etc on my system.

I would also like another that would delete a specific folders, e.g.
C:\...\folder1, C:\...\folder2 etc and all of their contents.

How would I go about this?

Could these be combined?

How?
 
M

MAP

Chris said:
I have never written a batch file before, and would appreciate any
step by steps advice anyone can give as to how to do this.

I would like to create a batch file to find and delete all instances
of specific files, e.g. filename1.xxx, filename2.xxx, etc on my
system.
I would also like another that would delete a specific folders, e.g.
C:\...\folder1, C:\...\folder2 etc and all of their contents.

How would I go about this?

Could these be combined?

How?


Read and learn-enjoy

http://www.computerhope.com/batch.htm
http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top