Batch Pc Speed Up Tool

6.6K107

Intro: Batch Pc Speed Up Tool

Is your computer slow and you don't want to download a suspicious looking software well here's a tool that will get you some hard disk space with out deleting important files
Look here if you don't trust me. https://www.google.com/#q=can+i+delete+the+files+in+temp

STEP 1: To Begin

Open notepad and type the following code

@echo off
Cls
Title pc quick clean by batchcc@gmail.com
Echo WARNING: this file will delete files if you contiue
Pause
Cd /d %temp%
Del *.*
Cd low
Del *.*
:: coded by batchcc@gmail.com
Echo complete please email me if you have suggestions or like the code
Pause

STEP 2: The Code Explained

Over time programs save temporary files to the %temp% folder which become unnessesary and should be deleted periodically.

@echo off cls clears the screen
Echo prints text to the screen
Pause pauses the file
Del *.* deletes all files in a folder
Cd changes the folder to delete files in

STEP 3: The End

If you liked my code, have suggestions or a cool code to share with me please email me my email is. Batchcc@gmail.com
To view the rest of my instructables come here https://www.instructables.com/member/batchcc
I am also starting a batch code website to become a moderator please email me thanks happy coding.

6 Comments

del C:\Windows\Temp /f /s /q
del C:\Users\falle\AppData\Local\Temp /f /s /q
del C:\Windows\Prefetch /f /s /q

i added this to desktop as bat file then put a shortcut in startup folder so every time
my pc starts it automatically cleans it.
permission required files idk will it delete or not!
and this wont ask you anything 1 click and done!
even on start up!

You should add subfolder deletion.

Not always safe to delete files in temp folder since some applications may store temporary backups for recovery. If your program crashes, you'll not be able to recover your data. Always close all applications before running anything like this.

Nice. I program also

Also type y to confirm the delete

I freed up about 140 megabytes the longer you wait to clean it the more it builds up.