yyz219 当前离线
中尉
TOP
smss 当前离线
reg add "HKCR\lnkfile\shell\OpensLnkFiles" /ve /t REG_SZ /d "打开文件位置(&E)" /f reg add "HKCR\lnkfile\shell\OpensLnkFiles" /v "icon" /t REG_SZ /d "explorer.exe,0" /f reg add "HKCR\lnkfile\shell\OpensLnkFiles\command" /ve /t REG_SZ /d "cmd /c for /f \"delims=\" %%%%i in ('find \":\" \"%%1\" ^|findstr /r \"^[A-z]:[\\]\"')do start explorer /select,\"%%%%i\"" /f复制代码
评分人数
@echo off ::检查扩展名是否是快捷方式文件 if /i "%~x1" NEQ ".lnk" start "提示" cmd /c "mode con cols=30 lines=5 &for /l %%i in (5,-1,1)do cls&echo 所选文件不是快捷方式!(%%i)&ping/n 2 127.1>nul&exit for /f "delims=" %%i in ('find ":" "%1" ^|findstr /r "^[A-z]:[\\]"')do start explorer /select,"%%i"复制代码