Command Groups
NOTE. Using back slash as a path separator may produce some unexpected
results, depending on how your application treatsescaped characters. Many
applications recognize the sequence of back slash followed by an alphabetic
character as an escaped character, and, as such, interpretthat alphabetic
character as a control character. For example, the sequence "\n" may be
interpreted as a newline character; "\t" may be interpretedas a tab character. To
ensure that this interpretationdoes not occur, you can use double back slashes.
For example, "D:\\testfile.txt".
Table 2 -20: File System Commands
Command Description
FILESystem? Returns the file system state
FILESystem:CWD Sets or returns the current working directory
for FILESystem commands
FILESystem:DELEte Deletes a named file or directory
FILESystem:DIR? Returns a list of directory contents
FILESystem:FORMat Formats a named drive
FILESystem:FREESpace? Returns the number of bytes of free space
on the current drive
FILESystem:MKDir Creates a new directory
FILESystem:READFile Writes the contents of the specified file to the
specified interface
FILESystem:REName Assigns a new name to an existing file
FILESystem:RMDir Deletes a named directory
FILESystem:WRITEFile Writes the specified block data to the
oscilloscope current working directory
Hard Copy Command GroupUse the commands in the Hard Copy Command Group to make hard copies.
PictBridge commands belong to a separate group. (See page 2-32, PictBridge
Command Group.)
Table 2-21: Hard Copy Commands
Command Description
HARDCopy Sends a copy of the screen display to the
selected printer
HARDCopy:ACTIVeprinter Setsor returns the currently active printer
HARDCopy:INKSaver Changes hard copy output to print color
traces and graticule on a white background
2-22 MSO4000 and DPO4000 Series Programmer Manual