The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Add "Remove Temp Files" to Right-Click Menu

    Discussion in 'Windows OS and Software' started by Lawrence, Jun 19, 2008.

  1. Lawrence

    Lawrence Notebook Evangelist

    Reputations:
    255
    Messages:
    492
    Likes Received:
    0
    Trophy Points:
    30
    Clear and erase your Temporary Files Easily

    Update: DOWNLOAD THE FILES HERE FIRST

    Free-up more space in your Harddrive! After Reading some questions on how to remove temporary files manually in Windows Vista and XP. Thankfully, Somethingpops-up in myhead, If I will create a small program or script >and be able to delete the temporary files in just one click, That would be Great!

    Delete %Temp% files and folders (User Temp Folder), and Windows Temp Folder in Windows Vista

    Open Notepad > Just Copy and Paste the Code Above and Save the the file to Any filename that you want with extension ".vbs"

    e.g. deltempfiles.vbs

    Adding the Script to Context Menu:

    1. Download WinBubble

    2. If you prefer to manually add the entry to Computer, Desktop, Start Menu, Folders Context Menu, Read here:

    Adding your applications to Context Menu (Right-Click Menu)

    3. Using WinBubble:

    Go to Miscellaneous Tab > Click the Computer Button > Type Any Name. In this guide, let's try "Remove Temp Files" > Click the Browse Button and locate the VB Script File > Add wscript.exe before the path and enclosed the path in a quotation mark (").

    Name: Remove Temp Files

    Command: wscript.exe "C:\Tools\deltempfiles.vbs"

    Click the Add Button. That's it!

    %Temp% Folder Only

    C:\Users\[UserName]\AppData\Local\Temp

    If you want to clear the User's temporary Folder only because UAC will not prompt to elevate the command:

    Repeat the steps from 1 to 3 and use the script below:

    Also, you can use this to Clear your Personal Temp Folder when Windows Starts. Just drag the Shortcut to Start Menu > All Programs > Start Up Folder.

    That's it!

    Want to learn How it was created?

    Read this first:

    How to Run VBScripts as Administrator in Windows Vista

    Enjoy!!! Please post any suggestion for the tip. Thanks :)
    ------------------------------------------------------------------

    Again Thank you very much Guys!!! NoteBookReview.com!!!
     
    Last edited by a moderator: Jan 29, 2015
  2. Lawrence

    Lawrence Notebook Evangelist

    Reputations:
    255
    Messages:
    492
    Likes Received:
    0
    Trophy Points:
    30
    *update
    coz download links doesn't work anymore.