Instructions

RIGOL Chapter 2 Command System
2-4 DSG800 Programming Guide
:MMEMory:CATalog:LENGth
Syntax :MMEMory:CATalog:LENGth? <path>
Description Query the number of files and folders under the specified path.
Parameter
Name
Type
Range
Default
<path>
ASCII string
Valid path
--
Explanation <path> can be the local memory (D disk), external memory (E disk; when a USB
storage device is detected by the USB HOST interface at the rear panel) or the
subdirectory under the D or E disk.
Return Format The query returns an integer. For example, 2.
Example
:MMEM:CAT:LENG? D: /*Query and return the number of files and folders in the
D disk*/
:MMEMory:COPY
Syntax
:MMEMory:COPY <file_source>,<file_destination>
Description Copy the file or folder specified by <file_source> to the destination path specified
by <file_destination>.
Parameter
Name Type Range Default
<file_source> ASCII string
The name of the file or folder to
be copied
--
<file_destination> ASCII string Valid destination path --
Explanation <file_source> denotes the file or folder to be copied. The file or folder name
must contain the path. <file_destination> denotes the destination path and
does not include the filename.
If the file or folder specified by <file_source> does not exist, the operation
fails.
If the destination path specified by <file_destination> does not exist, the copy
operation fails.
Example
:MMEM:COPY D:\1.STA,D:\