One click garbage removal bat method tutorial

Usually we choose to use anti-virus software tools to clean up computer garbage. Is there any other better way? What are the ways to clean up garbage with one click? We can use the script and bat to clean up the garbage.

The specific steps are as follows:

1. Copy the code of the previous experience and put it in Notepad.

The source code is as follows

  @echo off

Echo is cleaning up system junk files, please wait......

  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\*.*”

Echo clear system LJ complete!

  echo. & pause

Notepad rename: clear system LJ Bat (copy this name)

Save and double-click to run.

2. Remove garbage.

3. According to the prompt, click the window and click any key on the keyboard to finish the cleaning.

4. After deep cleaning, restore the running speed of the computer.

5. It is easy, convenient and fast. It is made into bat and placed on the desktop.

6. Create Notepad - open and put code - save and close - Rename Notepad - Finish - double click to run.

Add: computer practical skills can not be missed

Press and hold the windows + L key to quickly lock the screen, and press and hold the windows + e key to turn on the computer.

Press and hold windows + D to quickly return to the desktop, and press and hold windows + tab to display the switching window.

Press and hold the windows + R key and enter PSR Exe enter and turn on the self-contained video recording function. Press and hold the windows + X key to open the power options, device manager and other function menus.

Press and hold the windows + R key, enter OSK and press enter to open the virtual keyboard. Press and hold the windows and + keys to enlarge the screen.

In the multi tab program, press Ctrl + tab to switch the page, press Ctrl + Shift + tab to switch in reverse, press Ctrl + w to close the current page, press windows + FN + home to open the system properties.

Related reading: computer shortcuts

CTRL + C copy.

CTRL + X cut.

CTRL + V paste.

CTRL + Z undo.

Delete delete.

Shift + delete permanently deletes the selected item without putting it in the recycle bin.

While dragging an item, press Ctrl to copy the selected item.

Press Ctrl + shift while dragging an item to create a shortcut for the selected item.

F2 rename the selected item.

CTRL + right to move the insertion point to the beginning of the next word.

CTRL + left to move the insertion point to the beginning of the previous word.

CTRL + down to move the insertion point to the beginning of the next paragraph.

CTRL + up to move the insertion point to the beginning of the previous paragraph.

CTRL + Shift + any arrow keys highlight a piece of text.

Shift + any arrow keys to select multiple items on the window or desktop, or to select text in the document.

CTRL + a Selects everything.

F3 search for files or folders.

Alt + enter to view the properties of the selected item.

Alt + F4 close the current project or exit the current program.

Alt + enter displays the properties of the selected object.

Alt + spacebar opens the shortcut menu for the current window.

CTRL + F4 closes the current document in a program that allows multiple documents to be opened at the same time.

Alt + Tab toggles between open items.

Alt + ESC cycles through the items in the order they are opened.

F6 cycle through screen elements on the window or desktop.

F4 displays a list of addresses in my computer and windows explorer.

Shift + F10 displays the shortcut menu of the selected item.

Alt + spacebar displays the system menu of the current window.

CTRL + ESC displays the start menu.

Alt + underlined letters in the menu name display the corresponding menu.

The underlined letter in the command name displayed on the open menu executes the corresponding command.

F10 activates the menu bar in the current program.

The right arrow key opens the next menu on the right or opens a submenu.

The left arrow key opens the next menu on the left or closes the submenu.

Refresh the current window F5.

Backspace view folders one level above in my computer or Windows Explorer.

ESC cancels the current task.

When inserting a disc into the CD-ROM drive, press shift to prevent the disc from playing automatically.