Syntax
FILESystem:REName <old file path>,<new file path>
Related commands
FILESystem:CWD on page 126
Arguments
<old filepath> is a quoted string that defines the path and name of the file to
rename. If you do not specify a path to the file, the instrument looks for the file in
the current working folder. The current directory refers to the name of a folder as
returned by the FILESystem:CWD query.
<new filepath> is a quoted string that defines the path and new name of the file.
If you do not specify a path to a folder, the instrument places the renamed file
into the current working folder. File System Conventions on page 19
Examples
FILESYSTEM:RENAME " USB0/TEK00000.SET","D:/MYSETTING.SET"
gives the file named TEK00000.SET the new name of MYSETTING.SET. The
file remains in the root directory on the D drive.
FILESystem:RMDir
Deletes a named directory. This command deletes the specified directory and all
of its contents. The directory must not be a read-only directory. Command only,
no query form.
Group
File system
Syntax
FILESystem:RMDir <directory path>
Arguments
<directory path> is a quoted string that defines the location and name of the
directory to delete. If you do not specify a path to the folder, the instrument
deletes the specified folder in the current working folder. The current folder
refers to the name of a folder as returned by the FILESystem:CWD query.
NOTE. A folder must be empty before you can delete it.
F commands
132 TBS2000 Series Programmer