We have a group of 20 - 30 ini files used in a program on our network to manage configurations within that program.
They all contain a line such as
variable=<path>\filename.ext
where <path> = t:\x\y or t:\x\z and x,y, z are subfolders in the path
and t is a mapping to a network drive
I need to create a copy of these ini files where the <path> is changed to c:\w\y or c:\w\z, where x, y,w are subfolders and y and z are the same in both examples of <path>, c: is a local drive
Can I create environment variables that could be defined at the top of each ini so that only these top lines have to be changed in each ini file?
Thanks for any help
They all contain a line such as
variable=<path>\filename.ext
where <path> = t:\x\y or t:\x\z and x,y, z are subfolders in the path
and t is a mapping to a network drive
I need to create a copy of these ini files where the <path> is changed to c:\w\y or c:\w\z, where x, y,w are subfolders and y and z are the same in both examples of <path>, c: is a local drive
Can I create environment variables that could be defined at the top of each ini so that only these top lines have to be changed in each ini file?
Thanks for any help