Someone write a autoexec.bat file for me?

Matthew

Member
Contributor
:
CX9, CX5, i8
to delete all the files and folders in my temp directory upon start of windows. i can delete *.* but it seems they did away with the wonderful DELTREE command, so i dont know how to get rid of the sub folders anymore through dos without going into each one, del all the files then RD the directory.

thanks a million!
 
RD /S /Q foldername

Where foldername obviously is the name of the folder to delete.

The /S option will enable you to delete the tree without having to delete all files and then the folder.

The /Q option is used so that you do not have to confirm the deletion of the folder.

Hope that helps.

Happy holidays!

Simon
 
there's a free program called "bcwipe" that will wipe your temp directories, temp internet files, recycle bins, history files, cookies, etc. on bootup. It does a random wipe so the info on in those folders is permanently written over and cannot be recovered even by government specialist guys.........IMHO it's a must have with all the big brother computer snooping going on these days......I like to call it the "Anti-Patriot Act" :)
 
Matthew said:
not a bad idea, but i like my cookies to remember the sites ive been to.

it actually lets you choose what you want to wipe.....there's checkboxes with each type and you just check the things you want wiped......I usually wipe everything but my "favorites" and "cookies".
 
Back