LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

password set to folder

Hello everybody,

 

I created the folder when i start the program and i will download all data retrived from other device to this folder. I want to set the password to protect this folder.. can i set? if can, how can i do. Can somebody help me? thanks in advance to all..

 

0 Kudos
Message 1 of 3
(2,846 Views)
This is more of an operating system question than a LabVIEW question since LabVIEW doesn't control this. Folder security is handled by the operating system. Thus, you need to set the folder's permissions based on user accounts and/or groups.
Message 2 of 3
(2,845 Views)

Hi treasure,

 

smercurio_fc is right that the folder security is defined by the OS and set up with permissions instead of passwords. If you want to modify permissions pragmatically, you should be able do this by using the System Exec.vi to run a Windows system command, and it looks like the command cacls is capable of doing what you need.

 

Regards,

Stephen S.

 

 

National Instruments
Applications Engineering
Message 3 of 3
(2,807 Views)