Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Filecopy syntax

$
0
0
Hi guys, I'm trying to copy some files from our network share to workstations but I must be doing some stupid syntax error since it doesn't work :


Opt("ExpandEnvStrings", 1)
Local $targetDir = "%LocalAppData%"&"\Microsoft\Office\"
Local $sourceDir = "\\myserver\Office 2010\officeUI"
FileCopy($sourceDir&"\*.OfficeUI", "$targetDir", 1)

Would you have any idea as to why this is not working?

Thanks in advance!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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