Announcement

Collapse
No announcement yet.

Batch file for boring PC housekeeping tasks...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch file for boring PC housekeeping tasks...

    I am putting together a batch file that does the boreing housekeeping tasks, when someone says "My PC is slow.." windge windge...

    Heres the script thus far..

    First task at target PC. copy Housekeeping folder to root of C:\

    C:\Housekeeping contains the following:
    Housekeeping.bat
    RegClean.exe
    s-t-i-n-g-e-r.exe

    Contents of Housekeeping.bat
    -----------------------------
    del "%userprofile%\Local Settings\Temp\*.*" /s /q
    del "%userprofile%\Local Settings\Temporary Internet Files\*.*" /s /q
    del C:\WINDOWS\Temp\*.* /s /q
    C:\housekeeping\regclean.exe /a /l
    c:\housekeeping\s-t-i-n-g-e-r.exe /go /log /silent
    defrag c:
    shutdown -r -f -t 99
    -----------------------------
    What am I missing?? I wonder if anyone has any comments or suggestions for improvement on this "run and check in the morning solution"..
    PS. I know im lazy, but Id rather be spending my day reading MCSE world
    forums than dealing with pesky users...!
    String

  • #2
    You are missing 2 vital lines

    Code:
    ECHO Stop surfing for porn and you wouldn't have this problem.
    PAUSE > NUL


    Nah mate I can't think of anything else to add, sounds like a pretty good idea though.

    topper
    * Shamelessly mentioning "Don't forget to add reputation!"

    Comment

    Working...
    X