Technical data
Disk Commands 14
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 255
:DISK:MDIRectory
Command :DISK:MDIRectory "<directory>"
The :DISK:MDIRectory command creates a directory in the present
working directory which has been set by the :DISK:CDIRectory command.
If the present working directory has not been set by the :DISK:CDIRectory
command, you must specify the full path in the <directory> parameter as
shown in Example 1 below.
An error is displayed if the requested subdirectory does not exist.
<directory> A quoted ASCII string which can include subdirectories. You must separate
the directory name and any subdirectories with a backslash (\).
Example 1 This example creates the directory CPROGRAMS in the C:\Document and
Settings\All Users\Shared Documents\Infiniium\Data directory.
myScope.WriteString _
":DISK:MDIRECTORY ""C:\Document and Settings\All Users\
Shared Documents\Infiniium\Data\CPROGRAMS"""
Example 2 This example creates the directory CPROGRAMS in the present working
directory set by the :DISK:CDIRectory command.
myScope.WriteString ":DISK:MDIRECTORY ""CPROGRAMS"""
You can check your path with the :DISK:DIRectory? query.