Thread: Batch File Help
View Single Post
  #2  
Old 09-03-2007, 04:21 PM
Omega Omega is offline
Administrator
 
Join Date: Nov 2001
Location: Minneapolis, MN, USA
Posts: 957
Send a message via ICQ to Omega Send a message via AIM to Omega Send a message via MSN to Omega Send a message via Yahoo to Omega
Default

Yup. Alternatively, if you wanted a more 'scripty' way to accomplish it, you could:
Code:
for %i in (c:\WINDOWS\Temp\*) do del %i
As a side note, I like to test scripts like this prior to actually running them, by doing something along the lines of:
Code:
for %i in (c:\WINDOWS\Temp\*) do echo %i
Reply With Quote