Formats and Data Flow 7
Keysight 53210A User’s Guide 215
Managing Folders and Files
Folders, data files, and state files created in internal flash memory and on a USB 
storage device can be managed (i.e. deleted, copied, moved, cataloged) from the 
front panel or using additional commands within the
 MMEMory and MEMory 
subsystems. 
Deleting Folders
Folders are deleted (removed) using the command:
MMEMory:RDIRectory “<folder>” 
When deleting a folder from an I/O interface, the folder must be empty 
(containing no sub-folders or files). The folder designated as the current folder 
(
MMEMory:CDIRectory) cannot be deleted. From the front panel, un-empty folders 
can be deleted (as prompted) as can the (SCPI designated) current folder. 
Deleting a Folder Example
The following example deletes a sub-folder (empty) followed by its root folder.
//create USB folder ‘dut_2’ and sub-folder ‘data2’ 
MMEM:MDIR “USB:\dut_2” 
MMEM:MDIR “USB:\dut_2\data2” 
//remove sub-folder ‘data2’ then remove folder ‘dut_2’ 
MMEM:RDIR “USB:\dut2\data2” 
MMEM:RDIR “USB:\dut_2”
Deleting Files 
Data and state files located on the instrument’s internal flash drive or on a USB 
memory device (Figure 7-2) are deleted using the command:
MMEMory:DELete <“file”>
The file format is “[drive:path]<file_name>”. drive is either INT (internal flash 
memory) or 
USB (external memory device). If the file deleted is not in the specified 
current directory, 
path is an absolute folder path beginning with ‘\’ and starting at 
the root folder. The file name must include the file extension. For example: