OpenLiveWriter/getversion.cmd

9 lines
180 B
Batchfile
Raw Normal View History

2015-12-09 10:38:46 +00:00
@ECHO OFF
SET /P version=<"%~dp0version.txt"
FOR /F "tokens=1-4 delims=." %%V in ("%version%") DO (
SET "dottedVersion=%%V.%%W.%%X.%%Y"
SET "rcVersion=%%V,%%W,%%X,%%Y"
)