RIGOL
DG900 Programming Guide
2-37
:MMEMory:MOVE
Syntax
:MMEMory:MOVE <file1>,<file2>
Description
Moves file 1 from the current directory to path 2.
Parameter
Name
Type
Range
Default
<file1>
ASCII String
The file in the current directory
None
<file2>
ASCII String
Valid directory
None
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
Name
Type
Range
Default
<folder>
ASCII String
Folder name of the empty folder
None
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.*/
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......