Thread: Batch File Help
View Single Post
  #1  
Old 08-08-2007, 02:14 PM
agita agita is offline
Junior Techie
 
Join Date: Aug 2007
Posts: 1
Default Batch File Help

Hello this is my first post, don't want to irritate so i'll jump to the point.

I'm looking for some help with creating a batch file.

I want to delete multiple files, but just to keep it simple i will say one.

If i want to delete my temp files from the temp folder in windows ie.

C:\WINDOWS\Temp\

How do I delete everything in the folder but not the folder itself?


EDIT:

Answered my own question

del /s C:\WINDOWS\Temp\*

I kept deleting the entire folder lol.

Last edited by agita : 08-09-2007 at 10:52 AM.
Reply With Quote