Sign in to follow this  
Followers 0
NicoNic

Copy a file to a specific folder

3 posts in this topic

Hello,

the following problem: I want to copy a file from a specific folder into another folder and overwrite the file.

The root folder of the file is always the same but the target folder has a specific name which is stored in a cfg file.

So I would have a word from a CFG file read (whose origin is always the same) and this word would have the name of the destination folder for the copy to be.

Share this post


Link to post
Share on other sites



Search the help file for FileReadLine, StringTrim and FileCopy

Share this post


Link to post
Share on other sites

FileCopy(@TempDir & "\*.au3", @TempDir & "\Au3Files\", $FC_OVERWRITE + $FC_CREATEPATH)


Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

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