civikakias Posted December 1, 2006 Share Posted December 1, 2006 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 Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted December 1, 2006 Share Posted December 1, 2006 (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 December 1, 2006 by Thatsgreat2345 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now