Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy or Move File
Message
 
 
À
20/06/2005 05:41:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01024772
Message ID:
01024785
Vues:
22
>>Hey guys, is there any way of doing a copy or move(rename) file that doesn't halt execution? I move some big files accross the network (8-10 mins each to move) and would like the filesystem to take over and let my program get on with stuff and just be able to poll the directory every 30 secs to see if it's all copied/moved over. I can do it by creating an out of process object just for moving files around but that seems a bit overkill.
>>
>>Ken.

>Ken,
>Create an exe that'd do it and launch it with ShellExecute. You can check with a timer.
>Cetin

Thats what I meant by I could creating an out of process object, I just thought there may be a nicer way, a win32 call or a way of just telling windows to move a file for me that would return straight away and do the move in the background.

Ken.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform