October 6, 200421 yr Can someone please help me with this? Say I have a folder named "Stupid Folder" on my D drive.Can you show me how me to change this to that? cd %UserProfile% rd /s/q "Local Settings"\"Temporary Internet Files" This was once written for me by Tony Klein when I had a hard to delete file in a folder, and it worked. But I don't know how to change the path to "Stupid File" on D drive.Thanks. Tony's full explaination...-------------------------------------------------------------------------------------------Make a batch file that you have executed by having it run from the HKLM\RunOnce key.Paste the following into a blank text document:cd %UserProfile% rd /s/q "Local Settings"\"Temporary Internet Files" Save for example in C: as Clean.cmd.--------------------------------------------------------------------------------------------Open Regedit, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunonceRightclick somewhere in the RIGHT hand pane, and choose new > String ValueDoubleclick it, call it DelTemps and hit Enter.Doubleclick it to bring up the Edit box, and type this in the Edit data: C:\Clean.cmd. Click OK.Of course make sure the path to the location where you saved the batch file is correct.Reboot, and your TIF folder will be deleted and recreated automatically once.
October 6, 200421 yr Author Thanks anyway. A fellow named, primortal, on another site helped me. His solution was...d:rd /s/q "\web development"
October 10, 200421 yr I use a similar method in my Cache Killer which deletes all those folder's then re-create's1 examplerd /s/q "Local Settings"\"Temporary Internet Files"md "Local Settings"\"Temporary Internet Files"Strange but it work's good.
Create an account or sign in to comment