|
-
Mar 30th, 2000, 09:25 PM
#1
Thread Starter
Lively Member
I am trying to write a program that backs up a database from the c drive to the a drive. I want to use a command like the xcopy dos command.
Such as copy c:\database to a:\database
Thanks
BJ
-
Mar 30th, 2000, 09:29 PM
#2
Hyperactive Member
filecopy "c:\myfile.txt","a:\myfile.txt"
From the help
FileCopy Statement
Copies a file.
Syntax FileCopy source, destination
The FileCopy statement syntax has these named arguments:
source
String expression that specifies the name of the file to be copied. The source may include directory and drive.
destination String expression that specifies the target
filename. The destination may include directory and drive.
Remarks
If you try to use the FileCopy statement on a currently open file, an error occurs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|