标签:min set nbsp cmd bsp sed asm exe .exe
set ASMINFO=Properties\AssemblyInfo.cs
FINDSTR /C:"[assembly: AssemblyVersion(" %ASMINFO% | sed.exe "s/\[assembly: AssemblyVersion(\"/SET CURRENT_VERSION=/g;s/\")\]//g;s/\.\*//g" >SetCurrVer.cmd
CALL SetCurrVer.cmd
DEL SetCurrVer.cmd
echo Current version is %CURRENT_VERSION%
call .exe %CURRENT_VERSION%
标签:min set nbsp cmd bsp sed asm exe .exe
原文地址:https://www.cnblogs.com/AllowCloud/p/10226380.html