RegDelete("HKEY_CLASSES_ROOT\lnkfile","IsShortcut")
RegDelete("HKEY_ CLASSES_ROOT\piffile","IsShortcut")
Do
ProcessClose("explorer.exe")
Until Not ProcessExists("explorer.exe")
Run("gpupdate /force","",@SW_HIDE)
#CS
;重新恢复小箭头
RegWrite("HKEY_CLASSES_ROOT\lnkfile","IsShortcut","REG_SZ","")
RegWrite("HKEY_CLASSES_ROOT\piffile","IsShortcut","REG_SZ","")