import shutil, wmi
for comp in ('COMPUTER1','COMPUTER2','etc'):
c = wmi.WMI(comp)
for i in c.Win32_ComputerSystem():
str_uname = i.UserName
str_source = (r'\\%s\c$\FOLDER\Shortcut.lnk' %(comp))
str_dest = (r'\\%s\c$\Documents and Settings\%s\Desktop' %(comp,str_uname))
shutil.copy(str_source, str_dest)
|