- Weekly Tip Home
- Change Recycle Bin settings in Windows 7
- Windows 7 Features - All Editions
- Prevent Windows Update from automatic reboot
- How to Configure a User Account to Automatically Log On ?
- How to change start button icon in Windows 7 ?
- Disable the Windows Startup Sound.
- Windows Sysinternals Suite for Windows 7
- Turn on/off Windows Features
- Windows 7 Calculator Keyboard Shortcuts
- Change Windows 7 Numbers, Measurements and date Format
- Windows key shortcuts for Windows 7
- Open Windows 7 folder with Shell command
- A List of Run Commands For Windows 7
- Find Windows 7 Problem Reports history on Your PC
- Make Internet Explorer 8 Load Faster
- Windows Explorer Keyboard Shortcuts for Windows 7
- Learning About Your Own Account with Whoami in Windows 7
- Automatically Delete Temporary Files using batch script in Windows 7
- Save Hard disk Space by disabling memory dump files in Windows 7
- Make Windows 7 Shut down Faster
- Increase Windows 7 PC Memory (RAM) with your Flash drive
- Understanding Disk Management Terminology in Windows7
- All about VHD (Virtual Hard Disk) in Windows 7
- Administer your Windows7 PC using Microsoft Management Console (MMC)
- Types of Stop Error on Windows 7 PC
- Enable the hidden Administrator account in Windows 7
- Managing Installed Drivers in Windows 7 PC
- Cracking Hardware Errors in Windows 7 PC
- Command-Line (CMD) Editing Keys in Windwos 7
- Display Empty Removable Drives
- List of inbuilt applications you would like to replace in Windows 7
- Enable GodMode Feature on Windows 7
- Make your Windows 7 talk
- Make folder and content within undeleteable and only accessible to yourself in Windows 7
- Hidden Utilities and Shortcuts in Windows 7
- Create keyboard shortcuts to your favourtie application in Windows 7
- Show additional time zone in your Windows 7 taskbar
- Auto Login to your Windows 7 PC
- Install Telnet with only one command in Windows 7
- Open Command Prompt From Any Folder in Windows 7
- Automate Powershell script to find high processes running on Windows 7 PC
- Check RAM issues with Windows Memory Diagnostic tool in Windows 7
- Show your downloads on Windows 7 start Menu
- Unlock new themes in Windows 7 PC
- Use Windows 7 Without Activation
- Turn off Autoplay Feature in Windows 7 with one Click
- Running Disk Defragmenter from command line in Windows 7
Automatically Delete Temporary Files using batch script in Windows 7
Temporary files once build up makes your PC slow and creates trouble to different program installed in your PC.You have to regularly delete these files to make sure your PC runs smoothly. Here at Computer Anthem we will look on to automatic way of deleting these temporary file, follow following steps to create batch file and automate the process.
Create the batch file
Step I - Open notepad and type (make sure you have two lines as shown below)
cd C:\users\%username%\AppData\Local
rmdir /S/Q Temp
Step II - Save the file as XXX.bat (where XXX = any name, i would prefer TempClean).
Step III - Double click on the file, you created, this will delete your temporary files and free up space on your computer.
Note: If double clicking on batch file gives you any error message, try replacing %username% with your Windows login username.
Automate above process
Step I - Right click on batch file you created and click create shortcut.
Step II - Place the shortcut in your startup folder in the start menu, follow the link on how to do this.
Step III - Reboot your PC and everytime you logged on to your Windows 7 PC, startup
folder triggers the batch file to delete temporary files.
- 27/02/2011 06:05 - Types of Stop Error on Windows 7 PC
- 20/02/2011 04:56 - Administer your Windows7 PC using Microsoft Management Console (MMC)
- 13/02/2011 04:40 - All about VHD (Virtual Hard Disk) in Windows 7
- 06/02/2011 03:39 - Understanding Disk Management Terminology in Windows7
- 29/01/2011 06:27 - Increase Windows 7 PC Memory (RAM) with your Flash drive
- 22/01/2011 07:52 - Make Windows 7 shut down faster
- 16/01/2011 08:33 - Save Hard disk Space by disabling memory dump files in Windows 7
- 04/01/2011 02:03 - Learning About Your Own Account with Whoami in Windows 7
- 04/01/2011 00:14 - Windows Explorer Keyboard Shortcuts for Windows 7
- 19/12/2010 11:01 - Make Internet Explorer 8 Load Faster in Windows 7
- 12/12/2010 09:25 - Find Windows 7 Problem Reports history on Your PC
- 05/12/2010 02:01 - A List of Run Commands For Windows 7
- 28/11/2010 00:23 - Open Windows 7 folder with Shell command
- 20/11/2010 03:18 - Windows key shortcuts for Windows 7
Last Updated (Saturday, 05 March 2011 07:04)
Back







Comments