MS DOS

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Script which delete files in Temporary Internet Files

    0 answers - 1357 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Okey, so i got this really annoying issue...
    I have this server, which are being used by several users. The problem is that the string <user>\documents and settings\local settings\temporary internet files\content.ie5 are taking to much disk-space on my server. So, i thought i would be a nice idea to create a Batch-script that deleted all files in that folder for all users on my server. Well, i was a nice idea, untill i realized that this is not something i can create on my own, because i a totally newbie at Batch-scrips. I could go over all the users one by one and delete it manualy, but it would take forever, and this is something that has to be cleaned each 14 day anyways, so a script that i could put in the logon/logoff policy for the server that did this each time a user logged on/off would be great.
    I figured it would be something like this;
    del c:\Documents and Settings\%userprofile%\Local Settings\Temporary Internet Files\Content.IE5
    There i one more problem though... under Content.IE5 there is a file "index.dat" that cannot be deleted if the user is logged on the domain. So this file needs to be excluded from the script. I figured i could use the attribute "DEL /A:- index.dat" but it doesnt seem to work.
    If anyone understand what i mean here, could you point me in the right direction?

Re: Script which delete files in Temporary Internet Files


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "MS DOS"

EMSDN.COM