REM this requires some kind of cygwin toolset in $PATH REM or just having sed(1) at a minimum set /P RELEASE_NAME=<..\..\..\motto.txt sed -i "s/RELEASE_CODENAME/%RELEASE_NAME%/g" ..\..\Properties\AssemblyInfo.cs