hey all,
I'm writing a simple bacth file to remove those blasted temp file's from pc every monday night.
since i only have one account that is used on this machine i can use ask it to del the files from my "C:\Documents and Settings\Tristan\Local Settings\Temp" folder.
The problem is that if i do this i still get left with a load of read only files. when i try with just del /q "C:\Documents and Settings\Tristan\Local Settings\Temp\*.*" i get acess deinded error.
I have tried using the /f switch to force delete the read only stuff but it then doesn't even give me the 'access denided' error
is there anything more powerfull than 'del' in dos??
I can remove these files by selecting them and sending to the bin, but i wanted to automate it.
cheers for your help guys
edit;
I've also tried deleing the temp folder alltogether and them making an new empty one in its place, but no luck.
I'm writing a simple bacth file to remove those blasted temp file's from pc every monday night.
since i only have one account that is used on this machine i can use ask it to del the files from my "C:\Documents and Settings\Tristan\Local Settings\Temp" folder.
The problem is that if i do this i still get left with a load of read only files. when i try with just del /q "C:\Documents and Settings\Tristan\Local Settings\Temp\*.*" i get acess deinded error.
I have tried using the /f switch to force delete the read only stuff but it then doesn't even give me the 'access denided' error
is there anything more powerfull than 'del' in dos??
I can remove these files by selecting them and sending to the bin, but i wanted to automate it.
cheers for your help guys

edit;
I've also tried deleing the temp folder alltogether and them making an new empty one in its place, but no luck.
