M
MatthewBrown
Found this in another thread:
pushd "%userprofile%\Local Settings\Temporary Internet Files\"
del /a:sh *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd
But when I go to internet options>settings...>show files there are
still files.
I'm looking to make a scheduled task that is like a disk cleanup. It
will determine if the system is XP or 2k. If it's XP, cleanmgr
/sageset:0 will work. But if it's 2k, there's no cleanmgr, so I need
to script out the cleanmgr tasks (deleting temp inet files is one of
them).
Thanks!
Matt
pushd "%userprofile%\Local Settings\Temporary Internet Files\"
del /a:sh *.*
for /f "Tokens=*" %%G in ('dir /B') do rd /s /q "%%G"
popd
But when I go to internet options>settings...>show files there are
still files.
I'm looking to make a scheduled task that is like a disk cleanup. It
will determine if the system is XP or 2k. If it's XP, cleanmgr
/sageset:0 will work. But if it's 2k, there's no cleanmgr, so I need
to script out the cleanmgr tasks (deleting temp inet files is one of
them).
Thanks!
Matt