Hello, I've created a batch program that needs to load a string from a config file.
The config file contains several lines but I want one of them loaded into a variable in the batch file. I considered using a vbscript to load the file, find the line, and output it, but I doesn't know how to do it in vbscript.
Let's say that I want to output this: {4d36e96c-e325-11ce-bfc1-08002be10318} from a file that contains this:
[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MS%
LayoutFile=layout.inf
DriverVer=06/06/2001,5.01.2001
I don't know how to do.
Any help will be deeply appreciated!
Configuration: Windows XP Internet Explorer 7.0