![Rigol DSG5000 Series Programming Manual Download Page 106](http://html.mh-extra.com/html/rigol/dsg5000-series/dsg5000-series_programming-manual_1460929106.webp)
Description
Queries the number of files and folders under the specified path.
Parameter
Name
Type
Range
Default
<path>
ASCII String
Valid path
-
Remarks
The parameter <path> can be the local memory (Disk C) or external memory (Disk D,
available when a USB storage device is connected to the front-panel USB Host
interface), or the folders under Disk C or D.
Return Format
The query returns an integer. For example, 2.
Example
:MMEM:CAT:LENG? C: /*The query returns the number of files and
folders under Disk C.*/
3.5.3
:MMEMory:COPY
Syntax
:MMEMory:COPY
<
file_source>,<file_destination>
Description
Copies 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
File or folder to be copied
-
<file_destination> ASCII String
Valid destination path
-
Remarks
•
The parameter <file_source> denotes the file or folder to be copied. The file or
folder name must contain the path. The parameter <file_destination> indicates
the destination path and does not include the filename.
Command System
98
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.