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..

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
Attachments:
fileFolder.PNG ‏11 KB
currentFolder.PNG ‏6 KB

Similar Messages

  • How to get file path in the form \\filer01\dir\index.htm

    Hi,
    after selecting a file using the FileChooser dialog, i would like to convert the file path like "H:\index.htm" into a form like "\\filer01\dir\index.htm".
    On my system, the logical device name H:\ is mapped to a directory on a file server "filer01".
    Is there any possibility to do this conversion?
    Thanks in advance.

    hi,
    i dont think java has a way of figuring out the actual mappings for a drive, you can retrive all drives that are present using the following code
    File [] roots = File.listRoots();
    then you could just iterate through the roots some of which may be mapped (but you cant figure out which is mapped and which is not).
    So i guess the best way to do it is to have a Properties file with key,value mappings. for eg
    h:\\, \\file01\dir\..
    and then read the value from the Properties file, now if you want this for accessing a resource across the network you dont require to get the actual mapping, you can still use the mapped drive as you would use a unmapped drive.
    hope this helpz
    cheerz
    ynkrish

  • How can i get the path to config folder placed inside the jar file?

    Hi i have developed an RCP application using eclipse.
    In my application config directory is there.
    When i export my RCP application as JNLP Project the jar file is created which contains config folder inside it.
    When i download the application using java web start , how can i get the path to config folder placed inside the jar file?
    Will the config folder exists in local cache in my system?
    Help needed.
    -Deepak

    -- This works in CS6:
    tell application "Adobe InDesign CS6"
      set myDocument to active document
      set selectedRectangles to selection of myDocument
      set theGraphicsLink to file path of item link of (graphic 1 of (item 1 of selectedRectangles))
    --> "Macintosh HD:folder/folder/filename.tif"
    end tell

  • How to get the path of local folder in native services in windows phone 8.1 ?

    I used to get the path of local folder path in managed code by following -Windows.Storage.StorageFolder localFolder = Windows.Storage.ApplicationData.Current.LocalFolder;But now I need to get the local folder path in native services .Please help me out ?

    What do you mean by "native services"? Windows.ApplicationData.Lo alFolder is the way to access the local folder.

  • I deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    i deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    if you hid the menu bar and the navigation bar simply press the alt button, this will bring back the menu bar and form there you can right click and select which bars you want shown

  • How to get the Path of the Current File using Import & Export File -Reg.

    Dear all,
    I have a mega (big) doubt. I have manually inserted the Figures from the figure folders. Now i need, fully automated. So How can I get the Figure path
    Example :
    PMString path = "E://development/Figures/";
    now i checked, How many subFolders is there in "path", get the All Subfolders and check to the Article Name.
    Example
    Article Name == subFolder name then get the Files from the SubFolders(E://development/Figures/ChapterF/*.eps files").
    now I paste the Document using to For Loop.
    Please any one can suggest me, How can We get the Path in SDK.
    Note:
    Should I have to create the relative path by myself?
    No method supplied in SDK to do this directly?
    Please I need a help of this Query as soon as posible.
    Thanks & Regards
    T.R.Harihara SudhaN

    http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/input_file.asp?frame=true
    When a file is uploaded, the file name is also submitted. The path of the file is available only to the machine within the Local Machine security zone. The value property returns only the file name to machines outside the Local Machine security zone. See About URL Security Zones for more information on security zones.
    i need to know on how to get the compelete path /directory of the filename
    using <input type="file"> tag You can't. Its a security thing.
    is there any other way to get an input file from a local host aside from <input type="file"> tag?No. Not using just html.
    You could always go into activex components, but thats different again.
    Cheers,
    evnafets

  • How to get the Path of the WebDynpro page

    Hi All,
    Can any one say how to get the path of the JSPDynPage ina Portlet in Portal Application.
    Becoz i have to display that Page in another JSPDynPagee
    Thanks in Advance....

    Hi,
    You can call your JSPDynPage component by calling the URL as:
    http://localhost:50000/irj/servlet/prt/portal/prtroot/YourApplicationName.YourComponentName
    Check this:
    Calling portal component
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • How to get the path of the web-archive on the local filesystem?? [Apache]

    Hello all,
    Im running a webapplication on a tomcat server.
    I need to find out the path of the web-archive on the local filesystem to access several files.
    How can I do that with out having an instance of HttpRequest or whatever??

    Hello Bruce.
    Please take a look at the following KBase article.  It has a sample that will retrieve the folder structure for a specified Crystal Report template based on the instance name in the file store.  The sample there can be easily modified so that it is based on a specific infoObject id.
    1549728 - How to find the folder structure in the CMC of a report template based on the instance file name in the output file store.
    The KBase can be retrieve from the following link:
    https://bosap-support.wdf.sap.corp/sap/support/notes/1549728
    Please note that the KBase article is retrieved through the Service MarketPlace.
    I hope this helps.
    Regards.
    - Robert

  • How to get the path of the image stored in DMS

    Hi everyone..
    My question is that I have attached an image with an order through transaction jha2n..
    Now my requirement is to get the image in report..
    I know the Logical id in ISM_l_ord class and physical id in ISM_P_Ord class.
    I know that link between image and order is in SKWG_BREL.
    But i am not able to get the path so that i can show the image in docking control.
    pls help to retrive the path of the image stored...
    Thanks
    Pooja

    EpicMaster wrote:Now the problem is when I run the application through the .jar file in the dist/ directory the images simply wont load...
    ..lblProduct.setIcon(new ImageIcon("Resources.zip/res/Product.png"));
    Now the problem is when I Build&Clean the whole project which creates a /dist directory containing the complied and execulatble .Jar file for the application AND a folder called "lib" which contains the Resource.Zip folderThe String based constructor to ImageIcon presumes the String represents a File path. File objects do not work with resources inside Jar or Zip archives, for those, you need an URL. Gain the URL using something like..
    URL urlToImage = this.getClass().getResource("/res/Product.png");

  • How to get the path of the image stored in sap??

    Hi All
    The problem is
    While making an entry in standard there is a field called documents through which we attach our images in sap.
    How to get the path of the image stored with the corresponding order so that the image can be displayed while we are creating a report.
    I know how to upload the image while creating a report using docking control.
    I am not able to get the path of the image stored...
    Please Help
    Thanks in advance..
    Pooja

    I am not aware of exactly which tables are used for storing the attached doc. details, but we have worked in the similar requiremnent.
    What you can do is .... before uploading the image to any order, try swich on the SQL trace ST05 and after upload switch off.
    The log will display what are the tables involved while storing the image. And you can easily find out the image location.

  • How do i get the path of the file selected for opening in JFileChooser

    hi
    I need to get the path of the file selected for opening or saving in the JFileChooser dialog box.Is there any method available.if not how do i get that?
    Thanks and Regards
    Saminathan.

    don't know if its the best/only way, but you could use the getSelectedFile() method in JFileChooser which returns a file and then use the getAbsolutePath() file method

  • How to get absolute path of a form within the Forms

    Aslam o Alikum (Hi)
    How to get absolute path of a form within the Forms 6i or 9i
    For example
    i am running a from "abc.fmx" from C:\myfolder directory
    can i get the form path 'C:\myfolder' by calling any any function from "abc.fmb"

    There is no direct call that will always work. What you need to do is call get_application_property(current_form). This may have the full path in it, depending on if that path was defined when the form was launched. If there is no path, then you need to use TOOL_ENV.GETVAR to read the Forms<nn>PATH and the ORACLEPATH, parse those out into individual directories and then check for the FMX in each.
    I already have some code to do all this for you see:
    http://www.groundside.com/blog/content/DuncanMills/Oracle+Forms/?permalink=4A389E73AE26506826E9BED9155D2097.txt

  • I am using the window xp and firefox 6. I see many videos on youtube. How I get that videos from the catch folder and where is it?

    I am using the window xp and firefox 6.
    I watch the youtube videos online.
    How I get that video from the catch folder and where that catch folder are situated in the window xp.

    ''How can I view or retrieve a video from Firefox's cache''
    To actually view/retrieve the file from the cache and its web address you can use
    the "Cache Viewer" extension 32.8KB
    * https://addons.mozilla.org/firefox/addon/cacheviewer/
    * http://dmcritchie.mvps.org/firefox/firefox.htm#cacheviewer
    For you to be able to view the cached file you would have had to have watched the entire file.
    The latest version of the extension is 0.7b available in all versions you would have to override compatibility by any of these methods
    * checking or pick up one of the xpi versions in the reader comments for Firefox 6.0
    * extensions.checkCompatibility.6.0 set to False
    *: http://kb.mozillazine.org/Extensions.checkCompatibility
    * or with an extension "Add-on Compatibility Reporter" (84.0 KB) seems preferred in this group
    *:https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/
    There are also extensions such as Video downloader 132.8 KB
    * Download YouTube Videos + Flash Video Downloader / Download-Helper
    *:https://addons.mozilla.org/firefox/addon/download-youtube-videos/
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem after you've tried several things.</small>

  • Difficult: Drag and Drop: how to get the path of the drag-source ??

    I have to write an applet, after a "Drag&Drop"-Operation from a MS-Word-document to this applet, the applet is supposed to show the path of the document.
    Does anyone know how to do this ?
    thanks

    http://forum.java.sun.com/thread.jsp?forum=4&thread=300727

  • How to get the path of the cache directory ?

    Hi everyone,
    I need to get the path of the cache directory to copy files into it (these files are security files that are necessary to encrypt data).
    Maybe there is a jnlp.jar to have object that implements a method getCachePath() ? But I can't find it.
    Any ideas ?. thanks.

    you can find the cache location by finding the location of the jar file you are running from:
    URL resource =
    this.getClass().getClassLoader().getResource("testResource");
    if (resource != null) {
    String s = resource.toString();
    if (s.startsWith("jar:")) {
    int index = s.indexOf("!");
    if (index > 4) {
    String fileurl = s.substring(4,index);
    if (fileurl.startswith("file:")) {
    String path = fileurl.substring(5);
    // now path is the path to the jar file in the cache containing the resource
    /Dietz

Maybe you are looking for

  • How to change SSO user's password: Get LDAP URL

    Hi, I would like to add a 'change user SSO password' form to my BC4J application. The form's submit button fires an action that calls a PL/SQL package. This package receives 7 parameters, and uses de dbms_ldap package to change the user's password. P

  • Help me which JNDIFactory to use to access EJB from a java class of JAR

    I am confused in understanding the different JNDI factories RMIInitialContextFactory, ApplicationInitialContextFactory and ApplicationClientInitialContextFactory And the different namespaces like global, container local and component local. Especiall

  • WMP codecs missing after import, save & close without exporting

    So I can't find the answer to this anywhere and since it takes more than a few words to explain it, I'll try here. So this is what happens. The file is fine I import it into CS6 If I save and close the CS6, then try to play the files with Windows Med

  • Is there a way to customize safari bookmarks' icons

    I guess the question says it all. I would like to customize the generic bookmarks' icons in the safari Favorites page. Any way to do that?

  • Wifi yes, internet no

    just moved houses. Same wifi though. My partners ipad connects fine to the internet. my ipad and Mac get the wifi signal but no internet connectivity! I have already rebooted the wifi and several times the iPad and Mac. I told them to forget the netw