No announcement yet.

Script to delete temp files

  • Filter
  • Time
  • Show
Clear All
new posts

  • Script to delete temp files

    Hello Guys
    I already read some stuff from here and others website about to create a script to delete temp files in Windows 7.
    I was trying this one:

    I test it on my computer and it works.
    But when i try to run it from any pc at my work (domain) it doesn't.
    I already check with our security department, and there is no restrictions. I run it from cmd, and no error was display.

    Can you guide me where i can look, or in your experience what do you think is wrong? I'm not a programmer , I'm sorry. I'm a Technical Support, and we need this for a new application. Is necessary to clean up the temps, without the intervention of persons . That's why I'm looking a batch or something to accomplish this.

    Thank you for your time and patience.

  • #2
    Re: Script to delete temp files

    Are you a local admin on your PC, and is the account used to run it on other PCs also a local admin (on that machine)?
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    IT Trainer / Consultant
    Ossian Ltd

    ** Remember to give credit where credit is due and leave reputation points where appropriate **