create batch file to delete prefetch files

Monday, August 31, 2009
the below steps are about how to create batch file to delete prefetch files automatically, follow these steps.
  • Create new text document
  • Now type del C:\Windows\Prefetch\*.* /Q inside the text document
  • Go to file menu, click save as (this will open save as dialog box)
  • In the dialog box, under save as type select all files from the drop down menu
  • In the file name field type a name you prefer with .bat extension (ex-prefetch.bat)
  • Click save
  • Now double click the file to test, you will find that there's no more prefetch files left in the folder.

2 comments:

rahul yadav said...

Thank You it work for me. please could you provide the other temporary files like temp, recent documents.

rahul yadav said...

Thank You it work for me

Post a Comment

Need Help - Complete Below Form