25 February 2010

Tips & Tricks|Deleting Multiple Files Using A Batch File

I noticed that iTunes was creating and dumping *.tmp (temp files) in my iTunes Media Folder and that it was eating up my storage space. Here is a quick and easy way to get rid of these storage munching files.

Create a new Text Document and give it a memorable name

Copy the code bellow and paste it to your Text Document

cd\
cd C:\Users\<UserAccountName>\Music\iTunes
del /Q *.tmp
echo Deleting Files
echo File Deleted
exit

NB <UserAccountName> change this to your user account name.

Save the file

Rename it and change the file extension from .txt to .bat

Click on the file to execute the command

HTH

0 comments:

Post a Comment