7 Save/Recall/Print
7.3 Save
7.3.14.2 Mass Storage Change Directory (Remote Command Only)
Remote
Command
:MMEMory:CDIRectory [<directory_name>]
<directory_name> must be a valid logical path
:MMEMory:CDIRectory?
Example
:MMEM:CDIR "C:\Program Files"
Notes Changes the current directory for a mass memory file system. The <directory_name> parameter is
a string. If no parameter is specified, the directory is set to the *RST value
At *RST, this value is set to the default user data storage area, that is defined as System.En-
vironment.SpecialFolder.Personal
Query returns full path of the current directory as a quoted string
7.3.14.3 Mass Storage Copy (Remote Command Only)
Remote
Command
:MMEMory:COPY <string>,<string>[,<string>,<string>]
<string> must be a valid logical path
Example
:MMEM:COPY "C:\TEMP\Screen_0000.png","C:\"
Notes Copies an existing file to a new file or an existing directory to a new directory
If no directory is specified, uses the current directory
Two forms of parameters are allowed. The first form has two parameters. In this form, the first
parameter specifies the source, and the second parameter specifies the destination
The second form has four parameters. In this form, the first and third parameters specify the source.
The second and fourth parameters specify the directories. The first pair of parameters specifies the
source. The second pair specifies the destination. An error is generated if the source doesn’t exist or
the destination file already exists
This command will generate an “access denied” error if the destination is a restricted folder (for
example, C:\Windows) and you do not have Power User or Administrator privileges
7.3.14.4 Mass Storage Device Copy (Remote Command Only)
Transfers data to/from a file and a peripheral device.
Remote
Command
:MMEMory:COPY:DEVice <source_string>,<dest_string>
<source_string> and <dest_string> must be valid logical paths
Notes The strings must be a valid logical path or a valid device keyword. If dest_string is a device
keyword, the data is copied from the source file to the device. If source_string is a device
keyword, the data is copied to the source file from the device
Valid device keywords are:
SNS (smart noise source)
An error is generated if the file or device is not found
Spectrum Analyzer Mode User's &Programmer's Reference 2624