Question : Creating batch file

hi,
How can I create a batch file to delete tempory files and schedule it to run Win Xp Pro?

ayha

Answer : Creating batch file

the /Q keeps it from prompting you to delete (i.e. Press Y/N to confirm) which is required in the batch file, or each time it runs it will want your input:

you can d:

del "C:\Documents and Settings\USERNAME\Local Settings\Temporary Internet Files"\*.temp /Q
del "C:\Documents and Settings\USERNAME\Local Settings\Temporary Internet Files"\*.wav /Q
del "C:\Documents and Settings\USERNAME\Local Settings\Temp"\*.tmp /Q
del "C:\Documents and Settings\USERNAME\Local Settings\Temp"\*.temp /Q
del "C:\Documents and Settings\USERNAME\Local Settings\Temp"\*.wav /Q

etc for anything you want to remove then save the file and schedule as above - > save as "all files" and save it is MyBatchName.bat




Random Solutions  
 
programming4us programming4us