Hi, I need help in this vbscript. Purpose is to read a config.ini file which has some info like:
[GROUP1]
server1
server2
server3
[GROUP2]
server1
server2
server3
[GROUP3]
server1
server2
server3
The script should read each GROUP seperately in the .ini file and copy the logs from say: d:\logs to \\BACKUPServer\o$\logs. The requirement is to copy only the new files and not all the files that exist in the source path. Also, the script should create seperate GROUP folders and server folders on the destination path.
I am able to copy the files from source to destination using FileSystemObject but I am stuck at how to read each GROUP in the .ini file and do the recursive task of creating the respective GROUP,server folders and copy only the new logs.
Any help / suggestions / ideas is much appreciated.
Our community of experts have been thoroughly vetted for their expertise and industry experience.