I'm somewhat new to the VB Scripting and here is what I'm trying to do and any help or suggestions on how best to accomplish this would be great.
I'm trying to setup a script that will manipulate some system files and drive mappings according to some choices made in a batch menu file.
What I need is the ability for a few variables to be set according to some plain text contained in an external file so that individuals who don't understand VB don't have to go into the script to make minor changes such as server name or driver letter changes.
So, I would like to be able to use something like an .ini file to specify the options like this:
[ABCServer]
drive=X
share=ABCShare
client=ABCompany
[123Server]
drive=Y
share=123Share
client=123Company
This way I can make the code very static in what it does, yet allow the non-programatic associates edit the .ini file to change simple specifics per client.
However, I'm unsure how to get the script to jump to the specific section of the file to read the variables I'm setting.. SkipLine is kinda restrictive..
Any help is appreciated.
I'm trying to setup a script that will manipulate some system files and drive mappings according to some choices made in a batch menu file.
What I need is the ability for a few variables to be set according to some plain text contained in an external file so that individuals who don't understand VB don't have to go into the script to make minor changes such as server name or driver letter changes.
So, I would like to be able to use something like an .ini file to specify the options like this:
[ABCServer]
drive=X
share=ABCShare
client=ABCompany
[123Server]
drive=Y
share=123Share
client=123Company
This way I can make the code very static in what it does, yet allow the non-programatic associates edit the .ini file to change simple specifics per client.
However, I'm unsure how to get the script to jump to the specific section of the file to read the variables I'm setting.. SkipLine is kinda restrictive..
Any help is appreciated.