Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

Prev Previous Post   Next Post Next
  #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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:19 AM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.