Bold_Fortune Posted October 6, 2004 Share Posted October 6, 2004 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. Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 6, 2004 Author Share Posted October 6, 2004 Thanks anyway. A fellow named, primortal, on another site helped me. His solution was...d:rd /s/q "\web development" Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 10, 2004 Share Posted October 10, 2004 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now