...

View Full Version : delete files



VietBoyVS
01-22-2004, 08:23 AM
I think I have created a BATCH file before.

But now I forgot how to do it and i don't have the codes with me since my pc was formatted..

I just want to delete all files in my IE Tmp file..
I know the commands something like this.. but it prompt it..
any idea?? use -r or any other variables


del "c:\windows\temp\temporary internet files\*"

I should use a notepad and save it as .bat I think. rite?

Jason
01-22-2004, 11:35 PM
why not install tweak_ui? it does it for you...;)


Jason

VietBoyVS
01-23-2004, 03:02 AM
del "C:\Documents and Settings\Admin\Cookies\*.txt" /Q /F
del "C:\Documents and Settings\Admin\Local Settings\Temporary Internet Files\*.*" /Q /F /A H
del "C:\Documents and Settings\Admin\Local Settings\Temp\*.*" /Q /F
del "C:\Documents and Settings\Admin\Local Settings\History\*.*" /Q /F
del "C:\WINDOWS\Temp\Temporary Internet Files\Content.IE5\*.*" /Q /F


Okie. I came with up that. The only thing is that all files in Cookies are deleted. but not other files in other folder. other folder are hidens.. any idea how?

VietBoyVS
01-25-2004, 12:51 AM
how do I make this to auto start when I restart(shutdown) or startup my pc?

i think there is something to do with ==> @

Roy Sinclair
01-26-2004, 03:58 PM
Originally posted by VietBoyVS
how do I make this to auto start when I restart(shutdown) or startup my pc?

i think there is something to do with ==> @

As said once before, download and install the TWEAKUI PowerToy from Microsoft. It has an option which can be set to do EXACTLY what you're asking for here. It will also give you a number of other nice things so pursuing this BAT file idea further isn't of any real value.

Regardless, if you want it to run at startup you only need to place the bat file or a shortcut to the bat file into the startup folder of your start menu.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum