MSFN Forum: Deleting Files but not the root folder! - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Deleting Files but not the root folder! Rate Topic: -----

#1 User is offline   Plastic_Cup_Politics 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 03-August 03

Posted 03 August 2003 - 08:30 PM

I want to delete the DLLCACHE files inside, but I don't want to delete the folder. How can I do this in my batch command. Can anyone give me a bit of code for it please :)

Grant.


#2 User is offline   cheesehead 

  • I like to sleep.
  • Group: Members
  • Posts: 24
  • Joined: 26-July 03

Posted 04 August 2003 - 03:30 PM

Put this in a batch file and run :)


@echo off

del /f/s/q %SYSTEMROOT%\System32\DllCache
rd /s/q %SYSTEMROOT%\System32\DllCache

#3 User is offline   cheesehead 

  • I like to sleep.
  • Group: Members
  • Posts: 24
  • Joined: 26-July 03

Posted 04 August 2003 - 03:32 PM

forget about the "rd /s/q %SYSTEMROOT%\System32\DllCache" part that would remove the directory even though it will be put back when windows needs it.

#4 User is offline   Plastic_Cup_Politics 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 03-August 03

Posted 04 August 2003 - 06:30 PM

Thank you. BTW It's a good tip to remove the files in DLLCACHE as for many obvious reasons, as well as it removes a hell of alot of space

#5 User is offline   Slip400 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 23-October 04

Posted 27 February 2005 - 05:58 PM

create a batch file with the following code



@echo off
echo.
ECHO Purging DLL Cache...Please Wait
start /wait /SFC /purgecache
EXIT

#6 User is offline   hmaster10 

  • Stalker
  • PipPip
  • Group: Members
  • Posts: 176
  • Joined: 23-February 05

Posted 28 February 2005 - 08:00 AM

Plastic_Cup_Politics, on Aug 4 2003, 06:30 PM, said:

Thank you. BTW It's a good tip to remove the files in DLLCACHE as for many obvious reasons, as well as it removes a hell of alot of space
<{POST_SNAPBACK}>


is it safe to delete the dllcache folder ?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy