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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move table from one computer to another

Status
Not open for further replies.

amerifax

Technical User
Dec 28, 2006
37
I have a table that I would like to copy across the network using a PRG.

Thanks for the help.

Bob
 
Are you copying entire tables, or some/all records from an open table?

Code:
* File copy of a table/file (must be closed)
* dBase 5 for DOS handles only DOS 8.3 files - no spaces in folder names
SrceFile = "C:\myProd\myTable.dbf"
DestFile = "D:\myArch\myTable.dbf"
COPY FILE (SrceFile) TO (DestFile)
Code:
* DOS/CLI file copy of a table/file (must be closed)
SrceFile = "C:\myProd\myTable.dbf"
DestFile = "D:\myArch\myTable.dbf"
RUN COPY &SrceFile &DestFile
Note that UNC paths such as "\\ComputerName\ShareName\" can be substituted for the mapped drive letter designations such as "C:\" above.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top