LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to protect a file programmatically from within LabVIEW?

I have a configuration file that I call with my LV program.  I would like a way to protect that file from being edited or deleted inadvertently (or even intentionally). If there is no way to do that, I know I can at least set a files permissions to Read Only, but is there a way to set a files Property to Hidden from within LV programmatically?

0 Kudos
Message 1 of 3
(2,827 Views)

If you build an installer, you can define the desired file settings (e.g. hidden). Simply install a default ini file with the right name and attributes, then modify it from within LabVIEW.

 

0 Kudos
Message 3 of 3
(2,807 Views)