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

Do I understand FileCopy right?

$
0
0
G'day everyone

I'm trying to use FileCopy to copy files, but the files don't copy.  So first I'd like to make sure that my syntax is right and that what I'm trying to do is what FileCopy does.

If I want to copy the file three.txt from C:\one\two\ to C:\four\, then I write:

[ autoit ]      
FileCopy ("C:\one\two\three.txt", "C:\four\")

Is that correct?  Is that supposed to work?  If not, then what is the syntax I need?

There are no wild cards in my script -- I know the exact file name to copy and where to copy it.  And the destination directory always exists in my scenario.

Thanks
Samuel

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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