Remote Control Commands
R&S
®
SMW200A
852User Manual 1175.6632.02 ─ 30
Wildcards
The two characters "*" and "?" function as "wildcards", i.e. they are used for selecting
several files. The "?" character represents exactly one character, while the "*" charac-
ter represents all characters up to the end of the filename. "*.*" therefore represents all
files in a directory.
Filename and file path
When used in remote control commands, the parameter <filename> is specified as a
string parameter with quotation marks. It can contain either the complete path including
the root user directory /var/user and filename, or only the filename. The filename
must include the file extension. The same applies for the directory /var/volatile
and for the parameters <directory_name> and <path>.
Depending on how much information is provided, the values specified in the parameter
or with the command MMEM:CDIR are used for the path and drive setting in the com-
mands.
14.7.2 Accessing Files in the Default or in a Specified Directory
For better overview and easy file handling, you may not save all user files in the user
directory /var/user but rater organize them into subdirectories.
The command syntax defines two general ways to access files with user data in a spe-
cific directory:
●
Change the current default directory for mass memory storage and then directly
access the files in this default directory, like saved list files, files with user data or
save/recall files.
(See Example "Save the user settings in a file in a specific directory"
on page 853).
The subsequent commands for file handling (select, delete, read out files in the
directory, etc.) require only specification of the filename. File extension can be
omitted; after syntax evaluation of the used command, the R&S SMW filters out the
relevant files.
●
Define the complete file path, including the user directory /var/user, created
subdirectories and filename (see Example "Load file with user data from a specific
directory" on page 853).
As a rule, whenever an complete file path is determined, it overwrites a previously
specified default directory.
The following example explains this rule as a principle. Exceptions of this general rule
are stated in the description of the corresponding command. The Chapter 14.7.3, "Pro-
gramming Examples", on page 853 explains the general working principle with the
commands for mass memory storage.
The same rule applies to the /var/volatile directory, see Example "Working with
files in the volatile memory" on page 855.
MMEMory Subsystem