I am trying to move files from a directory to another but i have sometimes an error because files i want to move
can be used by another application or not complet due to recording, how can i detect this type of status before attempting to move ?
Best reagrds
Tinnitus
CLAD / Labview 2011, Win Xp ------------------------------------------------------ Mission d'une semaine- à plusieurs mois laissez moi un MP... RP et Midi-pyrénées .Km+++ si possibilité de télétravail
Kudos always accepted / Les petits clicks jaunes sont toujours appréciés Don't forget to valid a good answer / pensez à valider une réponse correcte
CLAD / Labview 2011, Win Xp ------------------------------------------------------ Mission d'une semaine- à plusieurs mois laissez moi un MP... RP et Midi-pyrénées .Km+++ si possibilité de télétravail
Kudos always accepted / Les petits clicks jaunes sont toujours appréciés Don't forget to valid a good answer / pensez à valider une réponse correcte
You can note down the error code you receive when you try to move the file which is already in use.
Then modify your code to include error handling. Since you know the error code, you can compare the error code in your error cluster to check if the file you are trying to move is already in use by another application.