Sorry to put this here in Off-Topic, but I need an answer ASAP.
Any help or pointers in the right direction are much appreicated! I've tried google but for things like this if you don't search with just the right wording you'll come up nada...
Anyway here's what I'm trying to do...
I have a regular text file, let's say it's called version.txt and within this text file it has a single line of text like v5.9.14
Now, I'm trying to create a batch file that will look inside the version.txt file, extract that line of text (being v5.9.14) and finally assigning that info to a variable.
I've been trying to figure out how I can do this with the set command, but haven't had any luck.
Again, thanks for any and all help!
Any help or pointers in the right direction are much appreicated! I've tried google but for things like this if you don't search with just the right wording you'll come up nada...
Anyway here's what I'm trying to do...
I have a regular text file, let's say it's called version.txt and within this text file it has a single line of text like v5.9.14
Now, I'm trying to create a batch file that will look inside the version.txt file, extract that line of text (being v5.9.14) and finally assigning that info to a variable.
I've been trying to figure out how I can do this with the set command, but haven't had any luck.
Again, thanks for any and all help!