Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

vbscript to read config file and copy files

Avatar of kapilpatry
kapilpatry asked on
ProgrammingScripting LanguagesVB Script
12 Comments1 Solution1609 ViewsLast Modified:
Hi, I need help in this vbscript. Purpose is to read a config.ini file which has some info like:



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.
Avatar of merowinger
merowingerFlag of Germany image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 12 Comments.
See Answers