DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Command: DataFileCopy

Display all  Hide all

Command: DataFileCopy

Copies .tdm, .tdms, or .dat type DIAdem files and the associated binary files containing the bulk data.

Call DataFileCopy(FSSourceName, FSTargetPath, [FSProgressBar])

Input Parameters

FSSourceName Specifies the source file or source folder for DIAdem file and folder commands.
FSTargetPath Specifies target folders for DIAdem file and folder commands.
[FSProgressBar] Specifies whether the progress bar, which the operating system displays during long operations, is visible. If you assign the value TRUE to the FSProgressBar variable, DIAdem does not display the progress bar. The default value for the FSProgressBar variable is FALSE.

DIAdem specifies the name of the target file from the name of the source file. Therefore the FSTargetPath variable must not contain a filename.

Examples

The following example copies the file Example.tdm from the NAVIGATOR library folder to the NAVIGATOR user folder.
VBScriptPython

 

Call DataFileCopy(DataLibrPath & "Example.tdm", DataReadPath, False)

Note  The page Loading Bulk Data - General contains important information on the extended loading behavior of TDM and TDMS files.

Related Topics

Command: DataFileDelete | Command: DataFileLstGet | Command: DataFileMove | Command: DataFileRename | Command: DirLstWrite | Command: FileAttrClear | Command: FileAttrSet | Command: FileClose | Command: FileCloseAll | Command: FileCopy | Command: FileDateSet | Command: FileDelete | Command: FileMove | Command: FileOpen | Command: FileRename | Function: DataFileSize

Was this information helpful?