ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the windows directory

With the LabVIEW application builder, I can choose to put a file, such as an
..ini file, into the windows directory.

Now, I need to read the file in my program, but I can't find a variable
available that returns the windows directory, so I'm just using a path
constant C:\Windows. But I know I can't continue using this, because the
windows directory for Windows NT, or 2000, will be C:\WinNT.

Can anybody tell me how to access the windows directory?

Thanks

Slade Squire
0 Kudos
Message 1 of 2
(2,694 Views)
Hi Slade,

follow this link: http://zone.ni.com/devzone/explprog.nsf/webmain/EBF11DD1F0FEAEF3862566790072A983?opendocument&node=DZ53008_US

In the Winsys.llb you have the vi Get Windows Path.vi

Good luck,

Alberto
0 Kudos
Message 2 of 2
(2,694 Views)