LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the path of the folder?

hello everybody,

 

I want to retrive the path of folder. how can i do? i used File I/O > Adv file fun > File dialog and set the file dialog property to "Folder". but I cannot get the path included with folder name. Can somebody help me? thanks in advance..

0 Kudos
Message 1 of 6
(10,770 Views)

Hi treasure,

how do you make it? If you are in the folder which you want then select "choose folder". If you do it, then you get what you want. Don´t choose a folder and press select. You have to be in the folder which you want!

 

Mike

0 Kudos
Message 2 of 6
(10,765 Views)

Did you select "File or Folder" for the file dialog?

and

Did you click on the Current Folder button when selecting the folder?

 

R

 

Message Edited by JoeLabView on 09-03-2008 07:56 AM
Download All
0 Kudos
Message 3 of 6
(10,744 Views)

hello,

 

i select the folder first and then i select current folder. i get the path but it is not include the folder name. i get like C:\Documents and Settings\User\Desktop , actually i want is C:\Documents and Settings\User\Desktop\Station1. I need to get the file list from the station1 and i need to retrive the data from one of this file list. User need to choose only which station they want to open. After they choose the station folder, i need to retrive the data from download text file based on the folder name. So i need to get the folder path included with folder name.

0 Kudos
Message 4 of 6
(10,719 Views)

Treasure,

 

Try navigating inside station1 (i.e. double click station1 to enter it), THEN choose current folder...

Message 5 of 6
(10,715 Views)

2and4 is correct.  You need to go into the desired folder, then select it.  Not by highlighting it one level up, because you will end up selecting that upper level instead.

 

So browse to inside satation 1 and then select the current folder.  Because "current folder" actually means the folder that you are actively browsing.

 

R

0 Kudos
Message 6 of 6
(10,696 Views)