Re: Help-

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Coolio thanks.
Anyway to get around the Access Denied in Vista and the file is in use by another process? In other words is the a switch that will force the deletions?
"Pegasus (MVP)" <I.can@xxxxxxxxxx> wrote in message news:eKT0Ao8TIHA.748@xxxxxxxxxxxxxxxxxxxxxxx
Here we go. Save the following lines in c:\Windows\DelTemp.bat,
then create a link to it.
@echo off
echo.
echo Cleaning out the Temp directory
del /q "%temp%"
ping localhost -n 10 > nul

"DonV" <dvonj@xxxxxxxxxxx> wrote in message news:OISALm8TIHA.1168@xxxxxxxxxxxxxxxxxxxxxxx
I would like a script that I can click on and have it delete all the files in the temp directory. It would be even more useful if the script can run on Vista as well as XP.

Anybody have such a script and how it can be used this way?

Relevant Pages

  • Re: Help-
    ... Anyway to get around the Access Denied in Vista and the file is in use by another process? ... @echo off ... I would like a script that I can click on and have it delete all the files in the temp directory. ...
    (microsoft.public.windows.server.scripting)
  • RE: Help for Windows Vista.
    ... Here is the script we use again i work fine with XP but not on vista. ... Echo Loggin into our company ... REM *** drev w ...
    (microsoft.public.windows.vista.general)
  • Re: How to delete temp files
    ... You will always get "File in use" messages, because some temp ... @echo off ... echo Cleaning out the Temp directory ... I would like a script that I can click on and have it delete all the files in the temp directory. ...
    (microsoft.public.windows.server.scripting)
  • Re: Help-
    ... @echo off ... del /q "%temp%" ... I would like a script that I can click on and have it delete all the files in the temp directory. ...
    (microsoft.public.windows.server.scripting)
  • Re: Scripting question
    ... echo "Windows Vista" ... I guess the question is how can I run this script on both OSes so it evaluates properly? ...
    (microsoft.public.windows.vista.general)