Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Script/batch files from one location to another location

$
0
0

Hi,

I am looking for some help. I am working on project in Excel which will eventually produce two set of PDF files.  I need to copy the files to another location where I have multiple folders for each school.

First batch file

I will have general PDF file (Cluster Data.pdf). What I need is help with batch file so I can copy the file c:\data\cluster data.pdf to W:\schools\........

Within W:\Schools\ I have multiple school sub-folders for each school, 86 in total. Rather than having the copy the file 86 times I need a way to copy the same file to each folder.

Second batch file

I will be producing another PDF file from Excel file but this time one for each school. So I will have School A data.pdf, School B data.pdf and etc. All located in C:\data. In W drive I have school folder with sub folders for each school (School A, School B and etc). 

I need batch file that copies file from C to W drive. So for example I want to copy c:\data\School A data.pdf to W:\schools\school A, copy c:\data\School B data.pdf to W:\schools\school B and so on.

Any help would be great.

Thanks in advance.


I need batch file to copy all the PDF files from C:\data\ to W:\schools.


I need batch file to copy all the PDF files from C:\data\ to W:\schools.



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>