Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement