markesmith Posted April 30, 2008 Posted April 30, 2008 Around once a week we would like to delete the temp files from a folder and its sub-folders on our server. Obviously we can do it manually through a Windows search, I wondered if it was possible with a batch file or vbs script. All the files are *.tmp so I imagine the script would have to accomdate wildcards. Many thanks.
Jona Posted April 30, 2008 Posted April 30, 2008 DEL /Q yourdrive\yourdirectory\*.tmp ?? (Use with caution)
Jona Posted April 30, 2008 Posted April 30, 2008 /q = Quiet (don't ask) /s = This directory and subdirectories (equivalent to unix -r)
mattx Posted April 30, 2008 Posted April 30, 2008 Or download Agent Ransack: Agent Ransack - home Do a search for .tmp files, once they are all up - delete them.....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now