ceez Posted February 15, 2005 Share Posted February 15, 2005 zup peeps!I am trying to run a simple batch that will delete my temp internet files under "C:\Documents and Settings\ceez\Local Settings\Temporary Internet Files"The problem is that it cant get past the "Local Settings" folder. I write my batch like this:del C:\Docume~1\ceez\Local ~1\Tempor~1\*.*The space between local & settings kills me, I type \Local[space]~1\, how can I get around the space?thkz ceez Link to comment Share on other sites More sharing options...
Yzöwl Posted February 15, 2005 Share Posted February 15, 2005 (edited) C:\DOCUME~1\CEEZ\LOCALS~1\TEMPOR~1\*.*or better still, for an example, change the command to,IF EXIST "%USERPROFILE%\locals~1\tempor~1" DEL /F /Q /A "%USERPROFILE%\locals~1\tempor~1\*.*"PSSorry for the edit, I was going to just leave it at the first code box, but..... that avatar.....I just.....had to offer more...... Edited February 15, 2005 by Yzöwl Link to comment Share on other sites More sharing options...
ceez Posted February 16, 2005 Author Share Posted February 16, 2005 Sorry for the edit, I was going to just leave it at the first code box, but..... that avatar.....I just.....had to offer more......<{POST_SNAPBACK}>lol.... that's the lovely chest of one of the 2004 hooter girls calendar!!! I was testing out the zoom on the digital camera....you should see the full 1024*768!!! but going back to the batch.... so when there are spaces like the "local settings" folder, I just ignore the space and type it out "locals~1". this would apply to any other folder similar to local settings?thkz Link to comment Share on other sites More sharing options...
KAndle Posted March 9, 2005 Share Posted March 9, 2005 You are better off running the Deltree command to do something of that nature as huge hidden subdirecties exsist under Temporay Internet Files. Don't forget about the Temp directory as well that fills up with virues and garbage too. You actually better off to download SafeXP and check off Empty Temporary Internet Files on exit for the Internet thing though.http://www.theorica.net/safexp.htmKAndlehttp://www.KAndleConsulting.com Link to comment Share on other sites More sharing options...
Winnetou Posted March 10, 2005 Share Posted March 10, 2005 You should try it this way :del "C:\Documents and Settings\ceez\Local Settings\Temporary Internet Files\*.*" /F /S /Qanddel "C:\Documents and Settings\ceez\Local Settings\Temp\*.*" /F /S /QThis work fine in my batch. Link to comment Share on other sites More sharing options...
bledd Posted March 10, 2005 Share Posted March 10, 2005 /f /s ? what does that add.. Link to comment Share on other sites More sharing options...
Yzöwl Posted March 10, 2005 Share Posted March 10, 2005 /F Force deleting of read-only files. /S Delete specified files from all subdirectories. Link to comment Share on other sites More sharing options...
Takeshi Posted March 10, 2005 Share Posted March 10, 2005 I've tried this before but the IE temp internet folder ("Content.IE5") has a special system attribute and you just cannot delete it while logged on in normal mode.You can do it in Safe Mode, or if you dual boot, from another XP installation (in that case you can simply delete the whole thing in Windows Explorer - I do this regularly). 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