Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to copy from another directory? 1

Status
Not open for further replies.

pinoyali

MIS
Apr 10, 2003
7
PH
how do you copy a file from another directory? example:
you want to copy c:\one\a.dbf to d:\two\b.dbf
 
The clipper command to copy any single file is "copy file"
Assuming that drives C:& D:, folders (1 & 2) and file a.dbf already exist, the following line will copy file a.dbf from folder 1 on c: drive to folder 2 on d: drive and rename it to b.dbf in the process:

COPY FILE "c:\1\a.dbf" TO "d:\2\b.dbf
 
Oops
Sorry I forgot ending quotation mark. The line should look like this:

COPY FILE "c:\1\a.dbf" TO "d:\2\b.dbf"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top