win XP系統顯示或隱藏快捷方式小箭頭

新建txt文件,把以下代碼複製進去,然後把txt改成bat運行即可.

顯示快捷方式小箭頭:

@echo off  
@echo [Version]>%systemroot%\Shortcut.inf 
@echo Signature="$Windows NT$">>%systemroot%\Shortcut.inf 
@echo [DefaultInstall]>>%systemroot%\Shortcut.inf 
@echo AddReg=add>>%systemroot%\Shortcut.inf 
@echo [add]>>%systemroot%\Shortcut.inf 
@echo HKEY_CLASSES_ROOT,"lnkfile",,0x00000000,"快捷方式">>%systemroot%\Shortcut.inf 
@echo HKEY_CLASSES_ROOT,"lnkfile",IsShortcut,0x00000000,"">>%systemroot%\Shortcut.inf 
@rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 %SystemRoot%\Shortcut.inf

隱藏快捷方式小箭頭:

@echo off  
@echo [Version]>%systemroot%\Shortcut.inf 
@echo Signature="$Windows NT$">>%systemroot%\Shortcut.inf 
@echo [DefaultInstall]>>%systemroot%\Shortcut.inf 
@echo DelReg=del>>%systemroot%\Shortcut.inf 
@echo [del]>>%systemroot%\Shortcut.inf 
@echo HKEY_CLASSES_ROOT,"lnkfile",>>%systemroot%\Shortcut.inf 
@echo HKEY_CLASSES_ROOT,"lnkfile",IsShortcut>>%systemroot%\Shortcut.inf 
@rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 %SystemRoot%\Shortcut.inf

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章