The little-known system notebook magic method

  

Notepad is not only small in size, it takes up a small amount of memory, and the speed of opening is super fast. Compared with Word, it is simply what makes us feel the speed of rest. Today, I would like to share with you the use of Notepad in daily life, those little-known skills, I hope to help everyone.

1. Let Notepad automatically record when it was last opened

Method: Write “1st” in the first line of Notepad (not including apostrophes and capital letters, note) There is a point in front of it, so that you can know the last open time of the last time you open the Notepad file.

2, let Notepad automatically wrap

Every time you open a Notepad file, always display a long line of text, it is inconvenient to read, in fact, just select the format on the menu, then The line feed is checked, so the text will automatically wrap according to the size of the Notepad window.

3, let the Notepad on call

In the process of using the computer, Notepad can be considered as exhausted, the place where it is used is old and old, but each time can not be " Start /Program /Accessories /Notepad /or "right mouse /new /text document", it is a waste of time, it is easy to misuse! Then we let it on call, to the system " %systemroot%\\system32” directory, find Notepad.exe, right-click property, press the shortcut key you want to use in the "shortcut" window, OK, but type the shortcut key to start or switch to the program here. The shortcut key automatically includes the Ctrl+Alt key combination. Press the key combination key to be added. For example, to define a shortcut key for the Ctlr+ALT+H combination, press H. You cannot use ESC, Enter, TAB, Spacebar, Print screen, Delete, or backspace as keys in a combination of keys. Other programs cannot use this key combination, and if the shortcut conflicts with an access key in a Windows-based program, the access key does not work. The access key is a letter or number, that is, when it is combined with the ALT key, it has the same effect as using the mouse click command.

4, use the notepad to browse the web effects

friends who do webpages will often test some web effects, anyway, do blogging, I am testing some fun code, every time I open some webpage editing The device or the software is really troublesome (the speed is really slow), in fact, it can be easily done with the notebook, and the speed of the notebook may be super fast.

Method: Paste the webpage code you want to test into Notepad, select “File/Save As", select the file name in English or English + number, with the suffix .html, such as haha.html Then open IE and select "File/Open" to find the haha.html file and open it so that you can preview the webpage effect in the browser.

5, use non-text information to filter non-text information

Notepad can only record plain text, using this we can copy things online (may include text, pictures, forms, etc. The non-text information in the filter is filtered out, and a series of trivial problems such as table, manual line break, paragraph format mark, etc. are found in Word, and manual deletion is particularly troublesome. If you just want to copy the text, you can copy the contents of the webpage into Notepad to filter the extra information such as the image, and then copy the text from Notepad to word for further editing, so that you can get really pure text. .

6, batch processing

This should be the most common way of notepad, batch processing can save a lot of precious time and cumbersome process. For example, copying a file, copying a 1G movie from the E disk to the D disk, I personally tested it for this. If it is still used between the E disk and the D disk, copy/paste, etc., it takes 3 points. 30 seconds, and if you use Notepad, edit in Notepad: <;copy e:\\movie d:” then save as a file format such as copy.bat, as long as the suffix is ​​named .bat, then run the The file is batch processed, and it takes only 1 minute and 20 seconds to copy the same 1G movie, which saves most of the time, which shows that its efficiency is high.

There is a common notepad for clearing system junk files:

@echo off

echo is clearing 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% ecycled\\*.*

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% ecent\\*.*

del /f /s /q “%userprofile%\\Local Settings\\Temporary Internet Files\\*.*”

del /f /s /q “%userprofile%\\Local Settings\\Temp \\*.*”

del /f /s /q “%userprofile% ecent\\*.*”

echo clear system LJ complete!

echo. & pause

Copy the above code to Notepad, save as “Clear system junk file.bat”, and pay attention to save type selection “All files”, at the same time pay attention to save type selection "all files", and then run the batch file, you can clear the system's accumulated garbage files, run clean every other day, you can release a lot of space, I clear The most remembered one time is more than 600MB. Some friends may be worried about whether this will be a system problem. I have used it many times. There is nothing unusual. Online Google or baidu know that many people have done this.

The above is the magical use of the notebook that comes with the system that we share with you. If you are familiar with these tips, then you are the master of Windows.

Copyright © Windows knowledge All Rights Reserved