Computing.Net > Forums > Windows XP > batch file that del all in folder?

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.

batch file that del all in folder?

Reply to Message Icon

Name: burrowsfan
Date: July 4, 2007 at 09:59:44 Pacific
OS: XP Pro SP2
CPU/Ram: Pentium 4 3.00GHz
Product: HP
Comment:

I am trying to create a batch file that will delete all files and folders under one particular folder, but I am unsure of how to go about it, what to type, etc.

For example, say I wanted all the files and folders in the Call of Duty 2 folder to be deleted when I clicked on my batch file, what do I need to exactly type to make that happen? The path to that folder would be:

C:\Program Files\Activision\Call of Duty 2

Bare with me, I am new to all the commands and how to put them all together properly!

HELP!




Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: July 4, 2007 at 10:27:03 Pacific
Reply:

rd /s /q "C:\Program Files\Activision\Call of Duty 2"


=====================================
If at first you don't succeed, you're about average.

M2



0
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 Windows XP Forum Home


Sponsored links

Ads by Google


Results for: batch file that del all in folder?

Batch file to replace text in a tex www.computing.net/answers/windows-xp/batch-file-to-replace-text-in-a-tex/133565.html

Batch File to move columns in a txt file www.computing.net/answers/windows-xp/batch-file-to-move-columns-in-a-txt-file/178639.html

Batch File to Play asx in Non-Default Player? www.computing.net/answers/windows-xp/batch-file-to-play-asx-in-nondefault-player/180675.html