TDS5000B Online Programmer Guide
-- 2 9 4 --
FILESystem:CWD
Description
This command sets or queries the current working directory for FILE-
System GPIB commands. The default working directory is ”C:\Tek-
Scope”. Anytime that you use this command to change the directory,
the directory that you specify is retained as the current working directo-
ry until you either change the directory or you delete the directory. If
you delete the current working directory, the instrument resets current
working directory to the default directory (C:\TekScope) the next time
the instrument is powered on or the next time you execute a file system
command. The current working directory is retained between power
cycles.
This command supports the permutations of file and directory names
that are supported by Microsoft Windows:
H Relative path names; for example, ”.\Temp”
H Absolute path names; for example, ”C:\Windows\System”
H Implied relative path names; for example ”newfile.text” becomes
”C:\TekScope\newfile.txt” if the current working directory is
”C:\TekScope”
Group
File System
Syntax 1
FILESystem:CWD {<new working directory path>}
Syntax 2
Arguments
H <new working directory path>
This is a quoted string that defines the current working; a directory
name can be up to 128 characters.
Example 1
FILESystem:CWD ”C:\TekScope\images”
This command sets the current working directory to images.
Example 2
FILESystem:CWD?
This query might return:
:FILESYSTEM:CWD ”C:\TekScope\Waveforms”
This indicates that the current working directory is set to Waveforms.