RIGOL  Chapter 2 Command System 
2-40  DG800 Programming Guide 
:MMEMory:MOVE 
 
Syntax 
:MMEMory:MOVE <file1>,<file2> 
 
Description 
Moves file 1 from the current directory to path 2. 
 
Parameter 
The file in the current directory 
 
Remarks   
  The parameter <file1> is the filename of the file in the current directory and it is a string enclosed by 
double quotation marks. For example, "Rigol.RSF". 
  The parameter <file2> 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:MOVE "D:\Rigol.RSF","D:\Rigol"       /*Moves the file Rigol.RSF from the external memory 
directory to "D:\Rigol" (i.g. the Rigol folder in Disk D).*/ 
 
 
:MMEMory:RDIRectory? 
 
Syntax 
:MMEMory:RDIRectory? 
 
Description 
Queries the available disk drive. 
 
Return Format 
The query returns a string in the form of "the number of disk drives available,"the names of the disk drives 
available:"". For example, "1,"D:"" denotes that there is one disk drive available, and its name is D:. If there 
is no disk drive available currently, the query returns "0,"NULL"". 
 
 
:MMEMory:RDIRectory 
 
Syntax 
:MMEMory:RDIRectory <folder> 
 
Description 
Deletes the specified directory (empty folder) in the current path. 
 
Parameter 
Folder name of the empty folder 
 
Example   
Assume that the current directory is D:\, which contains an empty folder named 111, 
:MMEM:RDIR "111"    /*Deletes the empty folder 111 from the external memory.*/