Save the following code in a. bat
| The code is as follows: |
Copy code |
| @ Echo off Mode con cols = 35 lines = 8 & color 0A Title remove system shortcut Arrow The echo program will remove the small arrow of the system shortcut for you Pause Echo Windows Registry Editor Version 5.00> 1.reg Echo [HKEY_CLASSES_ROOT \ lnkfile]> 1.reg Echo "IsShortcut" =-> 1.reg Echo [HKEY_CLASSES_ROOT \ piffile]> 1.reg Echo "IsShortcut" =-> 1.reg Echo [HKEY_CLASSES_ROOT \ InternetShortcut]> 1.reg Echo "IsShortcut" =-> 1.reg Echo [HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \ InternetShortcut]> 1.reg Echo "IsShortcut" =-> 1.reg Regedit/s 1.reg Del 1.reg Cls Echo is disabling the display desktop process... Ping localhost-n 5> nul Taskkill/f/im assumer.exe> nul Cls Echo is enabling display desktop process... Ping localhost-n 8> nul Start "assumer.exe" "% windir % \ assumer.exe" Cls Echo system shortcut arrow cleared! Pause |
After you double-click a. bat on the desktop, you will find that the shortcuts on the desktop are all removed.
Original article from: blog.slogra.com