1.

Solve : Insert a file into a folder by running a Batch Fil?

Answer»

I am trying to find out the easyest way of running a batch file that will save a .XLT template into the template FOLDER, so I dont have to go round every machine and do it manually.  I want to mail the Batch file and the UPDATED template to the masses and ask them to run the batch file.  This will load the .XLT file into the correct foilder and allow the user to carry on with the day to day use of the file.  Can anyone help ??If all of these computers are on a local network, then the easiest thing to do would be to copy the template out to a network share.  Then create a logon script to copy the file from the share \\computername\share\filename.xlt to the local machine in the correct place.

Also, another thing that could be done is to create a batch file that will copy it from your machine to all the other MACHINES.  If they are all NT/2000/XP machines and you have admin access to each machine then you should be able to write a batch file that says:

copy c:\file.xlt \\machine\c$\program files\location

The problem with emailing out a batch file is that most of not all current email clients will not allow the RECIPIENTS to view and attached .bat file.  you would probably have to zip it or rename it and then have them unzip or rename the file before running it.  Without knowing more about your situation, its HARD to give you an exact answer.



Discussion

No Comment Found