🔒 Closed SARILI MONG PC CLEANER..

Status
Not open for further replies.

Dirtydozen

Eternal Poster
MAKE OWN PC CLEANER SOFTWARE USING BAT PROGRAMMING

SOURCE CODE

echo off

echo PC Cleaner by CYBER TECH, Cleaning system junk files, please wait…
REM displays a line of text

del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\.
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\.
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\.
del /f /q %userprofile%\recent\.
del /f /s /q “%userprofile%\Local Settings\Temporary Internet Files\.”
del /f /s /q “%userprofile%\Local Settings\Temp\.”
del /f /s /q “%userprofile%\recent\.”

REM /f: force deleting of read-only files
REM /s: Delete specified files from all subdirectories.
REM /q: Quiet mode, do not ask if ok to delete on global wildcard
REM %systemdrive%: drive upon which the system folder was placed
REM %windir%: a regular variable and is defined in the variable store as %SystemRoot%.
REM %userprofile%: variable to find the directory structure owned by the user running the process

echo Cleaning of junk files is finished!
REM displays a line of text

echo. & pause
REM echo.: Displays a single blank line on the screen.
REM pause: This will stop execution of the batch file until someone presses "any key"

↑ ↑ ↑ ↑ ↑ SOURCE CODE ↑ ↑ ↑ ↑ ↑

Copy The Source Code and Paste to Notepad And Save it as "anyname
.bat"
 
Status
Not open for further replies.

About this Thread

  • 4
    Replies
  • 113
    Views
  • 3
    Participants
Last reply from:
Ooguro

Online now

Members online
954
Guests online
11,903
Total visitors
12,857

Forum statistics

Threads
2,359,551
Posts
29,406,488
Members
1,066,419
Latest member
PCCTech
Back
Top