How to code a batch file to clean Temp folder?
Does anyone have any suggestions on how to code a batch file to clean Temp folder?C:\Documents and Settings\user\Local Settings\Temp folderThanks in advance for any suggestions1 person needs an answerI do too
July 21st, 2010 7:47am

CD "C:\Documents and Settings\user\Local Settings\Temp"Del *.* /YEXIT steve "oem7110" wrote in message news:6cc56733-009d-4858-9db3-20248caf579c...Does anyone have any suggestions on how to code a batch file to clean Temp folder?C:\Documents and Settings\user\Local Settings\Temp folderThanks in advance for any suggestions
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2010 3:03pm

Thank you for your suggestionsI tries it, but it does not work,Does anyone have any more suggestions?Thanks in advance for any suggestions
July 21st, 2010 6:50pm

What did it do? Did you include the spaces in the lines? You also have to edit it to match the correct user. You can go to a command prompt and figure out the commands yourself and then copy them. steve "oem7110" wrote in message news:22b38cd2-0557-488b-a3a1-909b78d9c63e...Thank you for your suggestionsI tries it, but it does not work,Does anyone have any more suggestions?Thanks in advance for any suggestions
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2010 11:14pm

On Wed, 21 Jul 2010 15:50:29 +0000, oem7110 wrote:Thank you for your suggestionsI tries it, but it does not work,Does anyone have any more suggestions?Thanks in advance for any suggestionsSteve's suggestion is fine, and if you do it correctly, it willwork. So clearly, you made a mistake in following it. Can you tell usexactly what you did.Ken Blake
July 22nd, 2010 1:34am

I open a notepad, then copy and paste following coding, and save it under the name cleantemp.txt.Under DOS command mode, I rename cleantemp.txt into cleantemp.batUnder window, I activate this batch file, it does nothing.Does anyone have any suggestions on what wrong it does not work?Thanks in advance for any suggestions CD "C:\Documents and Settings\user\Local Settings\Temp"Del *.* /YEXIT
Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2010 1:53am

You may have overlooked changing the word 'user' to your user name.
July 22nd, 2010 11:17am

When I type Del *.* /Y, it returns not a valid parameter - "y".Do you have any suggestions?Thank everyone very much for any suggestions
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2010 10:56am

What happens if you leave off the /Y ? steve "oem7110" wrote in message news:736ac437-eb6c-4e36-8de2-bb3b55a80212...When I type Del *.* /Y, it returns not a valid parameter - "y".Do you have any suggestions?Thank everyone very much for any suggestions
August 5th, 2010 4:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics