how to process a cvs file in vbscript RRS feed

  • Question

  • I have a several folders on a server with part of the computer names.  The computer names are csimpam3353726, csimpam3379465, etc. The Folder names are just the numbers.  3353726, 3379465, etc...  These folders contain the favorites for each of the computers that I am rebuilding.  After rebuilding them I hope to copy the files back to the computer from a remote location and would like to do them in a batch.  I have a comma delimited file with these number.  Each file has 8 or the computers.  An example of the file looks like this









    I can name the file whatever and usually it is located on a server at location like \\localserver\itshare\favorites

    What I want to do is create a simple vbs or bat file that can read one comma delimited file at a time and copy the favorites back to the computers after they are done rebuilding.  I currently process them in a bat file one at a time but would love to be able to process them 8 at a time as that is how the list is set up.  some flexibility as to the number of computers on the list would be great too like if there is only 5 or 6 computers listed in the cvs file.

    Thanks in advance

    Monday, December 16, 2013 9:51 AM