Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Deleting Files but not the root folder!

- - - - -

  • Please log in to reply
5 replies to this topic

#1
Plastic_Cup_Politics

Plastic_Cup_Politics

    Newbie

  • Member
  • 12 posts
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.


How to remove advertisement from MSFN

#2
cheesehead

cheesehead

    I like to sleep.

  • Member
  • 24 posts
Put this in a batch file and run :)


@echo off

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

#3
cheesehead

cheesehead

    I like to sleep.

  • Member
  • 24 posts
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.
Posted Image

#4
Plastic_Cup_Politics

Plastic_Cup_Politics

    Newbie

  • Member
  • 12 posts
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
Slip400

Slip400

    Junior

  • Member
  • Pip
  • 54 posts
create a batch file with the following code



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

#6
hmaster10

hmaster10

    Stalker

  • Member
  • PipPip
  • 176 posts

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 ?

Life isn't always black & white... but it's the opposite for me...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN