LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding a folder from an EXE

Solved!
Go to solution

I am getting ready to build an EXE used for data acquisition. In some of my VI's I currently strip the path up to five times to get to a folder that contains configuration files. When I turn this into an EXE, is that heirarchy still present, just not visible? Or, if I want to find a file that is placed next to the EXE, do I just strip the path once from any sub vi inside of an EXE?

 

0 Kudos
Message 1 of 3
(2,562 Views)
Solution
Accepted by topic author deskpilot
If you use the 'current VIs path' constant, you actually have to strip the path twice to get the folder the EXE resides in.
Message 2 of 3
(2,557 Views)