Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

FCopy (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

MgErr FCopy(oldPath, newPath);

Purpose

Copies a file, preserving the type, creator, and access rights. The file to be copied must not be open. If an error occurs, the new file is not created.

Parameters

Name Type Description
oldPath Path Path of the file or directory you want to copy.
newPath Path Path, including filename, where you want to store the new file.

Return Value

MgErr, which can contain the following errors. If you receive errors from CIN functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1
mFullErr2
fIsOpen5
fIOErr6
fNotFound7
fNoPerm8
fDiskFull9
fDupPath10
fTMFOpen11

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit