LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Moving File or Folder

Solved!
Go to solution

I have a large application, where the user selectes "Test Archive" file when they begin to run tests. Problem is if they move that file before the test sequence is complet, the software will create a new file in the old location that only contains the new data.  

 

I have tried setting the file premissions to be "read only", but some customers still manually reset the file to r/w and move it.  

 

Ideally I would like to have the file marked as busy like what happens when you try and move a word file.  

 

untitled.PNG

 I have tried using the "Deny Access" vi, it throws a Error 1 

untitled.PNG

 

I am running LV8.6 on XP.  Any ideas?  

0 Kudos
Message 1 of 3
(4,202 Views)
Solution
Accepted by topic author Taylor.Kendall

Hmm... Quick and dirty test, and it seems to be OK:

 

access denied.png

 

Andrey.

 

0 Kudos
Message 2 of 3
(4,197 Views)

I was trying to use it within a loop, should have had more coffee this morning. 

 

Danke

0 Kudos
Message 3 of 3
(4,181 Views)