Instructions

Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-35
Remarks
The parameter <directory_name> is a valid directory in the internal or external memory. It is a string
enclosed by double quotation marks. For example, "C:\" and "D:\Rigol".
Example
Assume that the current directory is D:\.
:MMEM:COPY "D:\Rigol","Rigol1.RAF" /*Copies the file Rigol1.RAF from the external memory directory to
"D:\Rigol" (i.g. the Rigol folder in Disk D).*/
:MMEMory:DELete
Syntax
:MMEMory:DELete <file_name>
Description
Deletes the specified file or empty folder from the current directory.
Parameter
Name
Type
Range
Default
<file_name> ASCII String
Filename of the file or the folder
name of the empty folder under
the current directory
None
Remarks
The parameter <file_name> is the filename of the file or the folder name of the empty folder under the
current directory. It is a string enclosed by double quotation marks. For example, "Rigol1.RAF".
Example
Assume that the current directory is D:\.
:MMEM:DEL " D:\Rigol1.RAF" /*Deletes the file Rigol1.RAF from the external memory (D:\).*/
:MMEMory:DOWNload:FNAMe
:MMEMory:DOWNload:DATA
Syntax
:MMEMory:DOWNload:FNAMe <file_name>
:MMEMory:DOWNload:DATA <binary_block>
Description
Creates a file under the current directory.
Loads binary data into the currently created file.
Parameter
Name
Type
Range
Default
<file_name>
ASCII String
Valid filename
None
<binary_block>
ASCII String
Valid data
None
Remarks
The parameter < file_name> is a string with double quotes and its length cannot exceed 7 characters. It
can be composed of Chinese characters, English uppercase characters and numbers. Wherein, one Chinese
character is counted as 2 characters.
Example
Assume that the current directory is C:\.