Technical data
256 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
14 Disk Commands
:DISK:PWD?
Query :DISK:PWD?
The :DISK:PWD? query returns the name of the present working directory
(including the full path). If the default path (C:\Document and Settings\All
Users\Shared Documents\Infiniium\Data) has not been changed by the
:DISK:CDIRectory command, the :DISK:PWD? query will return an empty
string.
Returned Format :DISK:PWD? <present_working_directory><NL>
Example This example places the present working directory in the string variable
strWdir, then prints the contents of the variable to the computer's screen.
Dim strWdir As String
myScope.WriteString ":DISK:PWD?"
str Wdir = myScope.ReadString
Debug.Print strWdir