Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seeking Alternative to COPY FILE Command
Message
From
21/12/2000 09:23:26
 
 
To
21/11/2000 20:10:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00444304
Message ID:
00455858
Views:
37
Hi, Alex.

Can you point us to a good source to the Scripting Object model, and some documentation or good article?

Thanks a lot

>Use the File System Object:
>
>oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>
>oFSO.CopyFile [source ], [destination ]
>oFSO.CopyFolder [source], [destination]
>
>>>>>>>>>>>>>>>>>>>>
>I need to copy DBFs / CDXs / FPTs from one directory to another (for backup purposes). The VFP command COPY FILE fails if the table is open. I am currently shelling to DOS and using the COPY command (in DOS) which works even when the table is open, but I would rather not shell out to DOS. Are there any alternatives? I also don't want to resort to ActiveX controls.
>>>>>>>>>>>>>>>>>>>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform