Windows operating system "Accessories" in the "Notepad" is a small program I love, it can help me read and record text files quickly and easily, There is another kind of magical effect that many people don't know, that is, it can help you deal with stubborn programs. It is a wonderful experience to use it for anti-virus. You are worth trying. The specific steps are as follows:
One step: Enter CMD in "Start →Run", and open the “command prompt” window.
Step 2: Enter ftype exefile=notepad.exe %1, which means to open all EXE files with “Notepad”. This way the original virus will not start.
Step 3: Restart your computer and you will see many “Notepads” opened. Of course, there are not only virus files, but also some original system files, such as input method programs.
Step 4: Right-click on any file, select “Open with", and then click “Browse”, go to WindowsSystem32, select cmd.exe, and you can open the “ command prompt again. Symbol & rdquo; window.
Step 5: Run ftype exefile=%1 %* to restore all EXE files. Now run the anti-virus software or directly change back to the registry, you can kill the virus.
Step 6: In each "Notepad", click on “File → Save As ” in the menu, you can see the path and file name. Find the virus file and delete it manually, but be careful, you must be sure that it is a virus to delete. It is recommended to rename and write down these files. After restarting, if there is no virus, there is no system problem, and then delete it;
Attachment: Usage of Ftype
In Windows, Ftype command To display and modify the open programs associated with different extension files. This is equivalent to modifying some of the contents under the "HKEY_CLASSES_ROOT" option in the Registry Editor.
The basic usage format of Ftype is: Ftype [file type [=[open mode/program]]]
For example: ftype exefile=notepad.exe %1 in the above example, indicating All files whose file type is EXE (exefile is represented as EXE type file) are opened by the "Notepad" program, and the following %1 indicates the program itself to be opened (that is, the program when double-clicking).
ftype exefile=%1 %* means that all EXE files run directly (EXE can run directly, so it can be used to represent %1 of the program itself), followed by %* to indicate the program command. All parameters (this is why EXE files can run with parameters).
Although "Notepad" is easy to use, if you master the above skills, you can use "Notepad" to serve us more flexibly and efficiently.
When we use Word, we often encounter Word failures and prompt Word safe mode. When
When installing the system, users usually need to install some drivers. The xp syst
In our use, XP and other operating systems will occasionally have a blue screen, so
Speaking of this Windows XP system computer repeatedly restarts the problem, Xiaobians own computer
WinXP system Superrecovery super hard disk data recovery method
Windows XP set up remote desktop dual administrator login at the same time
WinXP standby is not normal reason and its solution
How to disable the WinXP system startup items?
How to deal with video card in WinXP system computer?
How does WinXP share folders? How to share folders
Can WinXP install .NET Framework 4.5?
Let me install the original XP operating system myself
Why can't Windows XP with SP2 install IIS
WinXP system prompts "Windows can not open the add printer" What should I do?
Using the command to solve the problem that WinXP control panel can't open
How to connect WinXP different network segments to share printers?
Win10 Windows function can not be installed IE11 browser how to do
How to disable copying folders using Windows 7 Ultimate
Are these disabled services for win7 skills disabled?
What should I do if Win10's newly set PIN code cannot be logged in?
Problem Analysis: The operating system cannot be installed
Microsoft official U disk installation win7 tools
Microsoft will work with Intel to improve Windows 7 system
Win8 RP version will be released for public release on June 1st, US time