I'm working with two related VBscripts right now. The first file calls the second file to perform tasks.
In the second file, I'm constructing several address to create new folders and copy files over. However, the "year" value is hard-coded. Thus I have to manually update it whenever an error in the dates occurs when I run the first file.
For the first file I have, I update the "year" value every week, so that the code is always up to date, but not the second file.
I'm trying to fix the second file by changing the year value to a variable, which will update itself whenever I change the "year" value in the first file.
The part I'm not sure about is how to open the first file within the second file and extract that "year" value in the first file. OR using the first file to open and edit the "year" value in the second file.