Command: DataFileMove
- Updated2024-09-12
- 4 minute(s) read
Command: DataFileMove
Command: DataFileMove
Moves .tdm, .tdms, or .dat type DIAdem files and the associated binary files containing the bulk data.
Input Parameters
![]() |
Specifies the source file or source folder for DIAdem file and folder commands. |
![]() |
Specifies target folders or target files for DIAdem file and folder commands. |
![]() |
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. |
![]() | Note If you use the DataFileMove command, the following errors may occur:
The DataFileMove command terminates the action the first time an error occurs. DIAdem does not undo actions it performed before the error occurred. If you use the command for read-only files that are in a local folder, DIAdem does not display an error message. If you use the command for read-only files that are in a network, DIAdem displays an error message. |
![]() | Note Regardless of which filename extension you specify for the FSSourceName variable, DIAdem only moves DAT files together with the respective binary files. DIAdem ignores all other file types when you use the DataFileMove command. |
![]() | Note Use the FileMove command to move files. |
![]() | Note The page Loading Bulk Data - General contains important information on the extended loading behavior of TDM and TDMS files. |
Example
The following example moves all the Dat data files, including the binary files, from the C:\DIAdem folder to the D:\Target folder.
VBScript | Python |
Call DataFileMove("C:\DIAdem\*.*","D:\Target\")
Related Topics
Command: DataFileDelete | Command: DataFileLstGet | 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