Commands Listed in Alphabetical Order
FILESystem:C
OPy (No Query Form)
This command (no query form) copies a named file to a new file. The new file
may be in a totally separate directory than the old file. You can only copy one file
at a time usin
g this command. Wild card characters are not allowed.
Group
File System
Syntax
FILESystem:COPy {<source file path>,<destinatio n file path> }
Related Commands
FILESystem:CWD, FILESystem:DELEte
Arguments
<file p ath> is a quoted string that defines the file name and path. If the file
path is within the current working directory, you need only s
pecify the file name.
Examples
FILESYSTEM:COPY "C:\MYDIR\TEK00001. SET",
"C:\ANOTHERDIR\COPYOFTEK00 1.SET"
copies the file named
TEK00001.SET, located in the MYDIR directory on the C drive to a file named
COPYOFTEK001.SET in the ANOTHERDIR directory on the C drive.
FILESystem:CWD
This command sets or queries the current working directory for FILESystem
GPIB commands. The default working directory is “C:\TekScope”. Anytime that
you use this command to change the directory, the directory that you specify is
retained as the current working directory 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 de
fault 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:
Relative path names; for example, “.\Temp”
Absolute path names; for example, “C:\
Windows\System”
Implied relative path names; for example “newfile.text” becomes
“C:\TekScope\newfile.txt” if the cu
rrent working directory is “C:\TekScope”
Group
File System
DPO7000, DPO70000/B and DSA7000/B Series Programmer Manual 2-219