Command reference
R&S
®
ZNA
1180User Manual 1178.6462.02 ─ 20
The information elements indicate the following:
●
<Used Size> – disk space in bytes used by the listed files, excluding subdirectories
●
<FreeDiskSpace> – available free disk space in bytes
●
<FileEntry> – file name, (blank), file size in bytes
●
<DirectoryEntry> – directory name, <Dir>, (blank)
Tip: Use MMEMory:CATalog:ALL? to query the contents of the current directory and
all subdirectories.
Query parameters: 
<Directory> String parameter to specify the directory. If the directory is omit-
ted, the command queries the contents of the current directory,
to be queried with MMEMory:CDIRectory?.
Example: 
MMEM:CAT?
Possible response:  0, 771604480, calibration,
<DIR>, , colorschemes, <DIR>, ,....
Usage:  Query only
MMEMory:CATalog:ALL? [<Directory>]
Returns the contents of the current or of a specified directory and all subdirectories.
The information is returned in the following format:
Directory of <Directory>, <Used Size>, <FreeDiskSpace>{,<FileEntry>}{,<DirectoryEn-
try>}{,Directory of <Subdirectory>, <Used Size>, <FreeDiskSpace>{,<FileEntry>}
{,<DirectoryEntry>}}
See also MMEMory:CATalog?.
Tip: Use MMEMory:CATalog? to query the contents of the current directory.
Query parameters: 
<Directory> String parameter to specify the directory path. If the directory is
omitted, the command queries the contents of the current direc-
tory, to be queried with MMEMory:CDIRectory?
Example: 
MMEM:CAT:ALL?
Possible response:
Directory of C:\Users\Public\Documents\
Rohde-Schwarz\ZNA\,0, 2283155456,
calibration, <DIR>, , colorschemes, <DIR>,
, hardcopy, <DIR>, , limitlines, <DIR>, , ...
Usage:  Query only
MMEMory:CDIRectory <Directory>
Changes the current directory for MMEMory commands.
Relative paths are interpreted relative to this directory.
SCPI command reference