• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 440
  • Last Modified:

Script to auto delete .tmp files from a folder

I'd like to automatically delete .tmp files from a folder. Please provide me such a script if you have any. I use windows vista.
0
bobox00
Asked:
bobox00
  • 2
2 Solutions
 
torimarCommented:
Put this in a textfile saved with the .bat extension:

del /s drive:\directory\*.tmp
(Fill in the required drive and directory names)

0
 
torimarCommented:
If you drag the script into your startmenu's startup folder, the cleaning will be effected automatically whenever Windows gets loaded.
0
 
bobox00Author Commented:
Thanks!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now