NewsArchive
05-07-2011, 06:12 AM
Hi Friedrich,
sometimes, in very rare circumstances, the new move file function does
not move all files, which a covered by a given wild card pattern.
Perhaps anti virus products cause this. I think, it's something, we
can't control.
So I have a few related questions:
1.) If zero files are moved, how can I differentiate, whether it was not
possible to move any file or there was no file to move?
2.) If SB_ERRORCODE is zero (error occured), how can I get the reason?
3.) If your internal call of the WIN API function returns normal
(without error), could you add an additional check, that there are no
files left which match the wildcard pattern and if there are still files
left, try to move them in a second attempt?
Thanks for your answer.
Markus
sometimes, in very rare circumstances, the new move file function does
not move all files, which a covered by a given wild card pattern.
Perhaps anti virus products cause this. I think, it's something, we
can't control.
So I have a few related questions:
1.) If zero files are moved, how can I differentiate, whether it was not
possible to move any file or there was no file to move?
2.) If SB_ERRORCODE is zero (error occured), how can I get the reason?
3.) If your internal call of the WIN API function returns normal
(without error), could you add an additional check, that there are no
files left which match the wildcard pattern and if there are still files
left, try to move them in a second attempt?
Thanks for your answer.
Markus