@echo off setlocal set _VERPATCH_=Dev_Test_1 echo "%_VERPATCH_%" > .\np3portableapp\_buildname.txt Version -VerPatch "%_VERPATCH_%" endlocal