1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cleaning up XP Junk Via Batch

Discussion in 'Windows' started by ghostomni, Aug 27, 2007.

  1. ghostomni

    ghostomni New Member

    Joined:
    Jul 1, 2007
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    0
    Clean uo ur system TEMP, RECENT, HISTORY, TEMPRORY INTERNET FILES, & PREFETCH files Via a simple Batch File

    Copy This Coading To Notepad And save it as Cleanup.bat
    Please Note ALWAYS RUN THIS FILE FROM SYSTEM DESKTOP

    Code:
    @echo Off
    @Title Ghost Nt Cleaning System File
    @
    @cd\    
    @
    Echo. Cleaning Prefetch Files
    @cd %windir%\prefetch
    @del /s /q *.* |echo. >nul
    @cd\
    Echo. Cleaning Temprory Files
    @cd %USERPROFILE%\Local Settings\Temporary Internet Files
    @del /f /s /q  /a s *.* |echo. >nul
    @cd..
    @rd /s /q Temp |echo. >nul
    @rd /s /q History |echo. >nul
    @@MD Temp
    @cd\
    @del /s /q *.tmp
    @
    @cd %USERPROFILE%\Recent
    @del /s /q *.* |echo. >nul
    Echo. Please Wait More For Last Cleanup
    @del /s /q *.chk |echo. >nul
    @
    Echo. Cleanup Sucessfull
    
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    Really good one!
     
  3. gprabhu

    gprabhu New Member

    Joined:
    Aug 16, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Really good ! Thank you.
     
  4. sunsaan

    sunsaan New Member

    Joined:
    Sep 6, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    thats a good one..
    well man. can u tell how to hide(asking for code) *.bat file and how to send hided *.bat file to the fren...?
     
  5. jwshepherd

    jwshepherd New Member

    Joined:
    Aug 13, 2007
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    VP Technology Corporation
    Location:
    Texas
    Home Page:
    you cannot really hide bat files and send it to someone.
     
  6. sunsaan

    sunsaan New Member

    Joined:
    Sep 6, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    oh shit....
    but someone says we can hide .bat file from coding....
     
  7. jwshepherd

    jwshepherd New Member

    Joined:
    Aug 13, 2007
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    VP Technology Corporation
    Location:
    Texas
    Home Page:
    if you can get it on a machine you can add it to the registry or to the start menu and then right click the batch file and check hidden. But if you send it through email it will most likely be blocked and never reach your target .
     
  8. hanleyhansen

    hanleyhansen New Member

    Joined:
    Jan 24, 2008
    Messages:
    336
    Likes Received:
    8
    Trophy Points:
    0
    Occupation:
    Drupal Developer/LAMP Developer
    Location:
    Clifton
    Home Page:

Share This Page