Information générale
Catégorie:
Codage, syntaxe et commandes
hmm..
Not sure what you mean by process the folder first. The looping copy operation is at the end of the sequence described. And yes, it appears to on the 3rd copy operation. So the sequence is to delete all subfolders. Create dbc and dbfs, cdx etc in each folder. Copy data into these folders. and then copy the folders elsewhere...until we hit folder three.
At this point the SHFileOperation code will have been called 5 times, (3 deletes and 2 copies). Each pass reruns all of the DECLARE INTERGER statements.
This morning, not knowing what else to try, I added DECLARE INTEGER for GetStdHandle and CloseHandle; and at the end of the code:
nHandle = GetStdHandle(STD_OUTPUT_HANDLE)
=CloseHandle(nHandle)
Result = no change.
Don Lowrey
Précédent
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