Sign in to follow this  
Followers 0
ragemxf

send one file to c: on multiple network computers

2 posts in this topic

How could I send one file to say 20 computers's c drive with autoit?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

if you got adminrights and a list of the pc-names then it should be easy

the list may look like

pc1|pc2|pc3|...|pc20

if this is stored in ... lets say pc.txt then your code may look like

$list = stringsplit(filereadline("pc.txt", 1), "|")
for $i = 1 to $list[0] step 1
filecopy("source", "\\" & $list[$i] & "\c$\directory\*", 8);for copying and maybe creating new directory
next

if you don't have adminrights than this is useless

Edited by Nuffilein805

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0