![background image](http://html.mh-extra.com/html/tektronix/mso54/mso54_programmers-manual_1078778049.webp)
Command groups
File system command group
Use the commands in the File System Command Group to help you use the
built-in hard disk drive. You can use the commands to do the following:
List the contents of the current directory
Create and delete directories
Create, copy, read, rename, or delete a
fi
le
When using these commands, keep the following points in mind:
File arguments are always enclosed within double quotes:
“C:\MYDIR\TEK00001.SET”
File names follow the MS-DOS format: [DRIVE:][\PATH\]
fi
lename
Path separators can be either forward slashes (/) or back slashes (\)
NOTE.
Using a back slash as a path separator can produce some unexpected
results, depending on how your controller application treats escaped characters.
Many applications recognize the sequence of a back slash followed by an
alphabetic character as an escaped character, and, as such, interpret that
alphabetic character as a control character. For example, the sequence “\n”
might be interpreted as a newline character; “\t” might be interpreted as a tab
character. To ensure that this interpretation does not occur, you can use double
back slashes. For example, “C:\\test
fi
le.txt”.
Some FILESystem commands can fail because a
fi
le has read-only attributes.
You will not be able to delete or replace such
fi
les until this attribute is
removed. Refer to the operating system help on
fi
le properties for further
information.
Table 2-28: File system commands
Command
Description
Returns the
fi
le system state.
Copies one or more
fi
les to a new
fi
le.
Sets or queries the current working directory for FILESystem commands.
Deletes a named
fi
le or directory.
Returns a list of directory contents.
Returns the current user's home directory.
Returns a list of directory contents.
Makes a new directory.
Copies the named
fi
le to the interface.
Assigns a new name to an existing
fi
le.
MSO54, MSO56, MSO58, MSO58LP Programmer
2-33
Summary of Contents for MSO54
Page 1: ...xx 5 Series MSO MSO54 MSO56 MSO58 MSO58LP ZZZ Programmer Manual P077130502 077 1305 02 ...
Page 2: ......
Page 3: ...5 Series MSO MSO54 MSO56 MSO58 MSO58LP ZZZ Programmer Manual xx www tek com 077 1305 02 ...
Page 8: ...Preface iv MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 26: ...Command Syntax 2 10 MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 936: ...Status and Events 3 20 MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 937: ...Appendix A Character Set MSO54 MSO56 MSO58 MSO58LP Programmer A 1 ...
Page 938: ...Appendix A Character Set A 2 MSO54 MSO56 MSO58 MSO58LP Programmer ...