Remote Control Commands
R&S
®
RTB2000
354User Manual 1333.1611.02 ─ 04
MMEMory:CDIRectory <DirectoryName>
Specifies the current directory for file access. Before using the command, create the
directory with MMEMory:MDIRectory.
Setting parameters: 
<DirectoryName> String parameter to specify the directory, including the storage
device.
Example: 
MMEM:CDIR "/USB_FRONT/DATA"
Example:  Chapter 15.2.1.2, "Saving, Copying, and Loading Setup Data",
on page 242
MMEMory:RDIRectory 
<DirectoryName>
Deletes the specified directory.
Note: All subdirectories and all files in the specified directory and in the subdirectories
will be deleted!
You cannot delete the current directory or a superior directory. In this case, the instru-
ment returns an execution error.
Setting parameters: 
<DirectoryName> String parameter, absolute path or relative to the current direc-
tory
Example: 
MMEM:RDIR "/INT/TEST"
Deletes the directory TEST in the internal storage device, and all
files and subdirectories in the directory.
Usage:  Setting only
MMEMory:DCATalog? <PathName>
Returns the subdirectories of the specified directory. The result corresponds to the
number of strings returned by the MMEMory:DCATalog:LENgth? command.
Query parameters: 
<PathName> String parameter
Specifies the directory.
Return values: 
<FileEntry> String parameter
List of subdirectory strings separated by commas. If the speci-
fied directory does not have any subdirectory, the current and
the parent directories are returned (".,,0","..,,0")
Documenting Results