By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,512 Members | 3,689 Online
Bytes IT Community
Submit an Article
Got Smarts?
Share your bits of IT knowledge by writing an article on Bytes.

Deleting temporary files with just one click

lotus18
100+
P: 866
Hi everyone,

Every time we are doing a project using vb6 we noticed that a temporary file will be created and created until it looks messy on a folder where the project resides.

Edit this code in Notepad and save it as deltemp.bat or any filename you wanted with a .bat extension.

Expand|Select|Wrap|Line Numbers
  1. cls
  2. del *.tmp /s
Save the batch file with the same folder of your project in vb6 to delete all the temporary files in that folder.

Note: You can also change or add the what specific file you want to delete. I am not liable for any possible damage caused by negligence. Please be careful . : )
Nov 13 '07 #1
Share this Article
Share on Google+