05-30-2013 06:15 AM
Hi there,
I have a txt file with some configuration inputs to my labview application and i would like to kown if i can use a funtion to automatically search for that file path wherever he is, or if i change my program and file to a new pc or location i want it to be able to repath without me manually inputing the path. Is it possible?
Solved! Go to Solution.
05-30-2013 07:30 AM
What you ask for is possible through one of two mechanisms:
You can do an exhaustive search of the entire file system, but you would probably not like the performance impact. Option 1 is usually the best bet.
05-30-2013 08:03 AM
I fully agree with DFGray. Using relative paths is the way to go. What you can do then is use the Application Directory node to get the location of the project/EXE and then build the path to your file.