Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seeking Alternative to COPY FILE Command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00444304
Message ID:
01185312
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform