
Remote Control
R&S
®
NRT2
136
User Manual 1178.5550.02 ─ 04
Example:
MMEM:ATTR? 'D:\USER\DATA\*.*'
Returns a list of all files and their attributes in the
D:\USER\DATA
directory.
MMEMory:CATalog?
<path_name>[, <format>]
Returns the subdirectories and files in the specified directory. If no directory and no
drive are specified, the subdirectories and files in the default directory on the default
drive are returned.
Query parameters:
<path_name>
<format>
ALL | WTIMe
Return values:
<used_memory>
Response string: used bytes in this directory
<free_memory>
<file_entry>
Response string: "<file_name>,<file_type>,<filesize_in_bytes>"
Example:
MMEM:CAT? '\\Server\DATA\*.LOG'
Returns all files in the
\\Server\DATA
directory with the
*.LOG
extension.
Example:
MMEM:CAT? 'D:\user'
Returns all files at the highest directory level of the memory
stick.
127145265,175325184, "test,DIR,0",
"temp,DIR,0", "readme.txt,ASC,1324",
"state.savracl,STAT,5327", "waveform.wv,BIN,
2342"
Response: The
D:\user
directory contains the
test
and
temp
subdirectories as well as the
readme.txt
,
state.savrcl
and
waveform.wv
files which have different file types.
Usage:
Query only
MMEMory:CATalog:LENGth?
[<path_name>]
Returns the number of files in the specified directory. If no directory and no drive are
specified, the number of files in the default directory on the default drive are returned.
Query parameters:
<path_name>
Return values:
<count>
MMEMory