First of all, can you pull the same info (if all you're looking for is the version) from a simple VER command? (or older OSs VER /R)
How is the data being saved in your text files? Is it saved with the ""s? (can you paste a portion of the file here?)
I believe FOR %~I will remove surrounding quote marks.
Main Topics
Browse All Topics





by: AubsPosted on 2003-11-14 at 08:44:00ID: 9749133
ok, I got the first bit, by doing:
5")
For /F "delims=" %%x in (c:\tmp.cxt) do (
set str=%%x
echo %str%)
it echo's the part I want ("CurrentBuildNumber"="219
Now then, to remove the " 's
Any help, again greatfully received.
Aubs