Thalarion Posted January 26, 2007 Share Posted January 26, 2007 Hi all, I'm looking for a way to copy data from one data source to multiple PCs on our network. I have Robocopy already, but I need the script to prompt for the computer name and have it copy the entirety of one directory (C:\DB2_Update) from my local PC to these various PCs. I'm just trying to automate things as much as possible so I don't have to constantly go from computer to computer to install these updates. Thanks for any help you can provide. -Mark Link to comment Share on other sites More sharing options...
Zedna Posted January 26, 2007 Share Posted January 26, 2007 (edited) DirCopy('C:\DB2_Update','\\PC1\$C:\TEMP') DirCopy('C:\DB2_Update','\\PC2\$C:\TEMP')I'm not sure about exact UNC path syntax.EDIT: I'm not sure about that if it works.Look here Edited January 26, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Thalarion Posted January 26, 2007 Author Share Posted January 26, 2007 That's it? Works for me. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now