English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i want to make a batch file and put it in the startup folder so that it will empty out folders that i want.
i know i have to open notepad and then rename it to *.bat but i want to know the commands.

eg. to empty out
c:\windows\prefetch
c:\windows\temp

and some more i have.

thanks.

2007-07-16 09:06:51 · 1 answers · asked by Luke V 3 in Computers & Internet Programming & Design

1 answers

del c:\windows\prefetch /q/f
del c:\windows\temp /q/f

The /q means it won't ask for confirmation.
The /f will force deletion of read-only files.

2007-07-16 09:37:26 · answer #1 · answered by Joe L 2 · 0 0

fedest.com, questions and answers