fopetesl Posted September 14, 2017 Share Posted September 14, 2017 (edited) Struggling to get Filecopy() working MsgBox(0,"Moving file: ", $fLine) ; C:\AlmeterS3\AI74_No2.csv FileCopy( $fLine, "C:\AlmeterS3\S3_Database\") ; FileCopy( $fLine, $BatchDir & "\S3_Database\") If @error Then MsgBox($MB_SYSTEMMODAL, "ERROR!", "database write error " & @error) EndIf FileDelete( $fLine) doesn't copy only creates a file "C:\AlmeterS3\S3_Database" (actually AI74_No2.csv) Again my typo I should have added $FC_OVERWRITE + $FC_CREATEPATH since folder didn't actually exist. Edited September 14, 2017 by fopetesl Error found The most powerful number in the Universe. Zero. Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now