Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seeking Alternative to COPY FILE Command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00444304
Message ID:
01185312
Views:
19
Dear Sir,
LOCAL oShell, oSrcFolder, oDstFolder

oShell = CREATEOBJECT("Shell.Application")
oSrcFolder = oShell.NameSpace('D:\C2007\TABLES')
oDstFolder = oShell.NameSpace('D:\C2007\TABLES\BACKUP')

IF VARTYPE(oDstFolder)="O" AND VARTYPE(oSrcFolder.Items)="O"
        oDstFolder.CopyHere(oSrcFolder.Items)
ENDIF
When I use your abov codes, it show following error message
Cannot copy acws: it is being used ny another person or program
Close any program that might by using the file or try agian
So suggest some other codes to copy used files.

Wish you all the best
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform