y169168712 当前离线
四级士官
@echo rem 删除快捷方式 nircmd execmd RD /s /q ~$folder.desktop$\app rem 生成快捷方式 FOR /F "delims=" %%i IN (name.txt) DO ( forfiles /p . /M %%i.exe /S /C "cmd /c nircmd shortcut @path ~$folder.desktop$\app @fname" ) rem 改名 set 路径1=%USERPROFILE%\Desktop\app FOR /F "delims=, tokens=1,2" %%a IN (name改名.txt) DO ( FOR /R %路径1% %%c IN (%%a) DO ( ren "%%c.lnk" "%%b.lnk" )) pause复制代码
评分人数
yhcfsr 当前离线
中尉
for /f "delims=" %%a in ("C:\app\GoogleChrome_65.0.3325.162\MyChrome.exe")do ( setlocal enabledelayedexpansion set "path=%%~dpa"&&set "path=!path:~0,-1!" for /f "delims=" %%b in ("!path!")do echo %%~nb endlocal )复制代码
TOP
/zhqsystem/zhq 当前离线