Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows FileCopy
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00351014
Message ID:
00351025
Views:
23
>I know I've seen it here, but can't find the print I made...I apologize in advance for the redundancy.
>
>What is the syntax for calling the native Windows FileCopy - so I can copy temp.dbf from K:\production to C:\windows\temp?? I want the user to see the AVI since its a several second copy.
>
>TIA

Phil,

Are you referring to the Shell.Application object?
oShell = CREATEOBJECT('Shell.Application')
* lcdir is the target directory
oFolder = oShell.GetFolder(lcdir)
* lcfiles is the filename
oFolder.CopyHere(lcfiles)
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform