I recently discovered the basics of making a batch file, thru a tweak for automating deletion of the prefetch.
I know there are tons of progs for cleaning web history + IE has it in its options, but i would like to learn to make one in batch mode.
I have found alot of info in google which i am going through.
This is the begining for me.
1.Whats the difference between these two?
Deleting the prefetch :
a: del C:\Windows\Prefetch\*.*
In Temp folder it doesnt work, instead i have to write :
b. cd C:\Documents and Settings\XXX\Local Settings\Temp\
del *.*
using ** deletes them without asking permission
hoewever these do not remove folders...only files
2.How do i Delete All sub Folders in the Temp file?
cd C:\Documents and Settings\NAGNU\Local Settings\Temp\
del *FOLDERS????*??
3.How do i write a batch file for deleting all contents of the folllowing folders?
a.C:\Documents and Settings\XXX\Cookies\
b.C:\Documents and Settings\XXX\Local Settings\Temp\
c.C:\Documents and Settings\XXX\Local Settings\Temporary Internet Files\
d.C:\Documents and Settings\XXX\Local Settings-History-Today-My Computer - ........
The problems here are;
a.Cookies: contains things like : cookie@dfkdfkdkdkwtf?
b.Temp: contains folders??
c.Temporary Internet Files: contains listings Without extensions???
d.History: I have no clue how to empty todays history since its not in c:\ etc language and has no extensions.????
or do i have it all wrong and it has to be done another way.....?
Thank you for your patience in explaining this to me
or just write the batch and i will figure it out.
Thanks
Bookmarks