• Valid external directories include the external memory (D:/ and E:/) and the
folders (such as D:/RIGOL) in the external memory.
Return Format
The query returns the current directory, for example, C:/.
Examples
:MEMory:CDIRectory C:/ /*Sets the current directory to C disk.*/
:MEMory:CDIRectory? /*Queries the current directory. The query
returns C:/.*/
4.7.3 :MEMory:DELete
Syntax
:MEMory:DELete <
filename
>
Description
Deletes the specified file and empty folders in the current directory.
Parameter
Name
Type Range Default
<filename> ASCII string Refer to
Remarks
-
Remarks
• <filename> is the name of the file to be deleted (the filename uses the file type
as the suffix, for example, STA.RSF) or the name of the empty folder.
• This command is valid only when the current directory contains the specified file
or an empty folder.
• The folder cannot be deleted if it is not empty and a prompt message
“Unknown error” will be displayed. The command is invalid if the file is locked
(
:MEMory:LOCK
).
Return Format
None.
Examples
:MEM:DEL NEW.RSF /*Deletes the state file named NEW in the current
directory.*/
Command System
40
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.