MMEMory:CDIRectory <
folder
>
MMEMory:CDIRectory?
MMEMory:MDIRectory <
folder
>
MMEMory:RDIRectory <
folder
>
MMEMory:CDIRectory selects the default folder for MMEMory subsystem commands. This folder must
exist and is used when folder or file names do not include a drive and folder name. They query returns the
current default folder.
MMEMory:MDIRectory makes a new directory (folder) on the mass storage medium.
MMEMory:RDIRectory removes a directory (folder) on the mass storage medium.
Parameter
Typical Return
Any directory name, including the mass storage unit specifier.
Default INT:\.
"INT:\BACKUP"
Make and remove a new directory named "test" on the internal mass memory system:
MMEM:MDIR "test"
MMEM:RDIR "test"
Select the \BACKUP folder on the internal flash file system as the default folder:
MMEM:CDIR "INT:\BACKUP"
Return the default folder for MMEMory subsystem commands:
MMEM:CDIR?
l
This parameter is set to its default value after a Factory Reset (
) or Instrument Preset
(
).
l
You can only remove an empty folder. Otherwise, the instrument generates a "Directory not empty"
error.
MMEMory:COPY <
file1
>,<
file2
>
Copies <
file1
> to <
file2
>. Each file name must include the file extension.
Parameter
Typical Return
Any valid file name (both files)
(none)
Copy state file from the root directory to the folder "Backup" on the internal flash file system:
MMEM:COPY "INT:\MyVoltMeas.sta","INT:\Backup"
l
The source file and folder must exist and cannot be marked as hidden or system.
l
The destination folder must exist and cannot be marked as hidden or system.
l
If the destination file exists, it will be overwritten, unless marked as hidden or system.
l
To copy a file to a file of the same name in a different folder, specify just the <
drive
> and/or <
path
> for
<
destination
>.
SCPI Programming Reference
294
Keysight True
volt
Series Operating and Service Guide