LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

relative paths

I want to be able to enter a file path that would give a command something like "go up one folder, open this folder". Is that possible and how would I do that?
0 Kudos
Message 1 of 6
(3,302 Views)
Ellie,
When using a relative path, you can use the parent path specifier "..". For example, "..\..\file.txt" means strip (abs) path two levels and append file.txt. Using Build Path function, you can enter parent path specifiers in the relative path input.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 6
(3,302 Views)
The Build Path function is not what I am looking for. I tried the command you suggested before I posted my question and it does not seem to work for opening other folders. If it does not work for opening folders is there another way to do that?

Thank you.
0 Kudos
Message 3 of 6
(3,302 Views)
Where do you want to use this relative path, exactly?


LabVIEW, C'est LabVIEW

0 Kudos
Message 4 of 6
(3,302 Views)
Ellie,
Jean-Pierre's second question here regarding where you want this feature, is right on (hey, that is always the case with Mr. Drolet 🙂 ). Many times the solution to a programming problem is not to find a specific function, it is to do the task differently. One good example is recursive problems. My best advice to you is to be as precise in your question as possible. One can never be too precise but it is very easy to leave information out that is essential to solve the problem. I hope your problem will be solved soon. We are all here to help you out. /Mikael
0 Kudos
Message 5 of 6
(3,302 Views)
Thank you for all the replies. After looking at the program and trying several suggestions I have been able to resolve my problem. I used a combination of strip path and build path functions.
0 Kudos
Message 6 of 6
(3,302 Views)