Sign in to follow this  
Followers 0
civikakias

File Copy Help?

2 posts in this topic

Hi,

I need your help for something :">

I have this script but i have a problem.. if the file is allready in the destination folder it copy again and without any msg!

How can i make it to pass any file that i have allready and go o the next file??

test.au3

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Check out FileExists and or FileCopy has a 3 parameter which is the flag and

[optional] this flag determines whether to overwrite files if they already exist.
Can be a combination of the following:
 0 = (default) do not overwrite existing files
 1 = overwrite existing files
 8 = Create destination directory structure if it doesn't exist (See Remarks).

so 0 = dont overwrite so if it does exist it wont overwrite it ( which is default so the 0 isnt needed ;))

Edited by Thatsgreat2345

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