LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about changing file attributes

Hello,

My application brings a support file and it copies it to another directory. Then I should make that file hidden but I cannot find a function how to do it. I guess LV doesn't have that possibility in its functions. Any pointer to a Windows component?

Thanks,

Marce
0 Kudos
Message 1 of 4
(2,531 Views)

@Marce wrote:
... I should make that file hidden but I cannot find a function how to do it. I guess LV doesn't have that possibility in its functions. Any pointer to a Windows component?


You may want to take a look at Shaun Rumball's windows_api_1.0.llb. The link to his website seems to have died, but it's been posted in this forum a lot including here.
Try GetFileAttributes.vi and SetFileAttributes.vi.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 2 of 4
(2,519 Views)
Thank you very much. The library is very useful.

I also tried to download the OpenG libraries because I expected to find such an option but for some reason itdidn't work (the download). I got an error 56. If anybody have an idea of the reason, I'd appreciate your help.

Thanks,

Marce
0 Kudos
Message 3 of 4
(2,516 Views)
I also have some problems with downloading their packages.
If you look in their forums, you will see they have a board about support for commander, where they say you should make sure you don't have the firewall enabled.

___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(2,502 Views)