Complete file path selection

hello,
when we use the GET_FILE_NAME builtin. the selected file name is only returned but what in case i also want the path alongwith the file name to be returned..?
for eg. when x.xls is seleceted. i want in something like "c:\x\y\x.xls" to be stored.
Thanking you in advance.

Hi,
as to my understanding this is not an option. The GET_FILE_NAME built-in syntax is
Get_File_Name('directory_name','file_name','file_filter','message',
'dialog_type', 'select-file')
which means that the directory path is passed with the call. Note that GET_FILE_NAME built-in doesn't work in Forms 9i and 10g because they are web based. For these releases the WebUtil library should be used.
Frank

Similar Messages

  • Open Recent - CS3 Complete File Path

    In CS2 my open recent files showed the complete file path. e.g. d:\jobs\clients name\file name.indd.
    In CS3 it only shows file name without the complete path.
    Is there a setting to change this or am I stuck with it?

    CS3 will show the complete path if it is necessary to eliminate ambiguity.
    Dave

  • File path select pop ups. Multiple searches found

    I just had a new HD installed, and I now have mountain lion. When I open Logic pro on an existing song, I now get a "File Path Select" box, which says that there are "multiple matches found in file." Is this because my audio interface, Inspire 1394 is no longer compatible with mountain lion? What can I do to remove this?

    Do you have many files with the same name in different songs, like "Bass" or "Guitar" etc? Perhaps with the new drive, the original file paths connecting your files to your songs no longer exists, so logic is searching and finding multiple files matching the file name that the song is looking for. Do you see the filepath belonging to the song in the select box? If so, select it.

  • Getting complete file path in Adobe Interactive Form

    Hi All,
    I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
    *Start of JavaScript
    var sFile;
    event.target.importDataObject(sFile);
    var oFile;
    oFile = event.target.getDataObject(sFile);
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
    *End of JavaScript
    1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
    2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
    3. This way is only giving me the selected FILE NAME whereas I need the complete path.
    I have tried below way also:
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
    This function returns me the complete path but in URL form. It does not give me the presentation server path.
    Please suggest me how to get the complete path of presentation server to the file.
    Appreciation would be honored in form of points!!!
    Regards,
    Ashish

    please post it here for quick response
    and also search in adobe forums also for java script related.
    http://www.adobe.com/support/forums/index.html

  • Getting complete file path in Acro Java Script

    Hi All,
    I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
    *Start of JavaScript
    var sFile;
    event.target.importDataObject(sFile);
    var oFile;
    oFile = event.target.getDataObject(sFile);
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
    *End of JavaScript
    1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
    2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
    3. This way is only giving me the selected FILE NAME whereas I need the complete path.
    I have tried below way also:
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
    This function returns me the complete path but in URL form. It does not give me the presentation server path.
    Please suggest me how to get the complete path of presentation server to the file.
    Appreciation would be honored in form of points!!!
    Regards,
    Ashish

    I don't recognize the tech - is it something related to BusinessObjects Enterprise?
    Sincerely,
    Ted Ueda

  • How to open a file and display the complete file path?

    In my script, I want to create a dialog that prompts the user to define a few variables for the script. One of those variables is the path to a template file. I want it to work the same way that an upload form works. You click the browse button, the dialog appears so that you can browse for the file and then when you click OK or Open, the full path of the file is displayed in the text box next to it. How do I do this with JavaScript? I got this far and it seems to be working, but the wrong text is being displayed in the text box. Plus: How do I properly restrict the file types to PSD. The code doesn't seem to work, despite the fact that there are no errors reported. Initially the Text box is blank, but After I browse for the file, the text box says: "File". Here is the problem area:
    defineVars.STPnl.STBrowse.onClick = function browseST() {
    var stbFile = File.openDialog("Select the Single Mugshot Key Template File", "File Types: *.psd, *.PSD");
    defineVars.STPnl.STPath.text = stbFile;
    Thank you to whoever assists me! :)

    Change this:
    defineVars.STPnl.STPath.text = stbFile;
    To this:
    defineVars.STPnl.STPath.text = stbFile.fullName;
    The reason is that stbFile is a File object, you need to access its properties in order to get the full path.

  • Browse the File path selection in the selection screen

    I want to give the user the option to browse his/her desktop and selct a file path and windows name by clicking on a drop down.
    How do I do that?
    Thank you in advance

    hi ,
    there are so many function modules which will provide F4 Help for the path.
    Suppose you have given a parameter name path.
    You have to use these FMs in the event
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR path.
    Example :
    data : C_FNH_MASK TYPE DXFIELDS-FILEMASK VALUE '.',
    SEARCH_DIR TYPE DXFIELDS-LONGPATH VALUE '/SAPGLOBAL/USERS',
          FILE_PATH LIKE DXFIELDS-LONGPATH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR path.
    CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
        EXPORTING
          I_LOCATION_FLAG = 'P'
          I_SERVER        = ' '
          I_PATH          = SEARCH_DIR
          FILEMASK        = C_FNH_MASK
          FILEOPERATION   = 'R'
        IMPORTING
          O_PATH          = PATH
        EXCEPTIONS
          RFC_ERROR       = 1
          OTHERS          = 2.
      CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
        EXPORTING
          I_LOCATION_FLAG = 'A'
          I_SERVER        = ' '
          I_PATH          = SEARCH_DIR
          FILEMASK        = C_FNH_MASK
          FILEOPERATION   = 'R'
        IMPORTING
          O_PATH          = FILE_PATH
        EXCEPTIONS
          RFC_ERROR       = 1
          OTHERS          = 2.
    If you remove 'P' and put 'A', then it is used for application server F4 help.
    you have F4_FILENAMEand F4_FILENAME_SERVER  for presentation and application servers respectively
    Reward points if helpful.
    Thanks and Regards.

  • Missing Photographs - 5,000 in total - is there a programmatic way to get the complete file paths missing?

    HostOS : Mac OS X
    LightRoom version : 4.4
    I accidentally moved linked files over the past few years, and just discovered (via "Missing Photos" view) that I have 5,000 missing photos.
    I know the master photos are on my hard disk drive ... so, that is the good news.
    BUT I do not want to have to click to re-link all 5,000 missing photos one at a time.
    Is there a way to programmatically get the list of file paths of those 5,000 missing photos on my MacOSX system  -- so that I can write an AppleScript to extract the unique image file name from the full file path extracted from LightRoom, locate the image in Finder, and move it back to the expected file path where Lightroom expects to find it?

    If most of your reorganization consisted of moving whole folders rather than individual pics,  you can quickly relink entire folders, or even folders of folders, rather than individual pics.  In the Folders pane on the left, right-click the missing folder and select Find Missing Folder.
    If you moved individual files rather than entire folders, then to get a list of the file paths of all the missing files, first do Library > Find All Missing Photos. Then use the ListView plugin to get a list of the photos' file paths into a text file.

  • LSMW :Is it possible to create F4 Help for File path selection

    Hi All .,
    Please let me know is it possible to create F4 help for file path creation in LSMW .
    thanks
    Sreenivas

    Hi,
    I don't get it.
    In the step " Specify files" you will have the option to pick your flat file which is on the desktop by pressing F4 .
    What is that you exactly want??
    Warm regards,
    Hari Kiran

  • Complete file path

    I am trying to get a file to open, but it doesn't pass the complete path to the file. Does any one know how to get the complete path? I am using Windows 2000.
    else if (evt.getSource() == openButton)
         {int returnVal = fc.showOpenDialog(this);
                  if (returnVal == JFileChooser.APPROVE_OPTION){
                  String file = fc.getSelectedFile().getName();
                  nameField.setText(file);}}
    } // actionPerformed()
    Thanks for your help

    "fc.getSelectedFile()" returns you a File object (as you can see if you look in the API documentation for JFileChooser). For a File, its API documentation tells you about the getCanonicalPath() method in rather abstract terms, but if you squint carefully you'll see it's the answer to your question. Thus, you need to write
    String file = fc.getSelectedFile().getCanonicalPath();The API docs are your best friend, you'll be well advised to browse them a lot as you learn Java.

  • Filename from complete file path

    Hi,
       can anybody let me know the method to get the filename from the complete filepath( this path includes both directory as well as filename)
    regards.
    venkat.

    Hi,
    Check the below code:
    data : ig_path type standard table of tp_path,
           wg_path type tp_path.
    data : g_lines     type i          ,
           g_filename  type string     .
    parameter : p_input type rlgrap-filename.
      split p_input at '\' into table ig_path.
      describe table ig_path lines g_lines.
      read table ig_path index g_lines into wg_path.
      g_filename = wg_path-val.
    write : g_filename.
    Regards,
    Raghu

  • File path selected by the user!!! (File Download)

    Hi,
    Does exist a component, code line or any thing which emulate the Windows option <b>SAVE AS:</b> when the user does right click, but using a button to do this?
    If somebody knows? I will appreciate it.
    Thanks in advance!!!
    Tokio Franco Chang

    Noufal
    Thanks for your information!!! I found this post Re: Looking for example to export data from a DynPro table to Excel file which has code lines to export data from a Web Dynpro table to Excel file, it is saved perfectly in the local machine and save it in the server won't be problem.
    Your recomendation about the post it is to provide a popup window to change the name and extension of the file, how can I make it? ... Is there an UI Element in NWDS?
    Regards,
    Tokio

  • Both file and directory path selection

    Hi,
    Is it possible to select both file path and directory path from one parameter using F4?If yes how?
    Thanks.
    Edited by: Ginger on Oct 5, 2009 7:51 AM

    >
    Ginger wrote:
    > No...file can be anywhere....file path selection means will have file name(c:\abc.txt) and directory selection means only select 'C:\'
    > from which files can be selected.
    >
    > Now I want to enable both the options in one parameter path.Is it possible?
    AFAIK, it is not possible.
    But you can try a workaround though :-P
    Make two radio-buttons:
    1. Select File (rb_file)
    2. Select Directory (rb_dir)
    Then based on the radio-button call the respective method
    IF RB_FILE = 'X'.
    Call Method CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    ELSEIF RB_DIR = 'X'.
    Call Method CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
    ENDIF.
    BR,
    Suhas

  • Pg Number, File path and date automatically printed?

    Is there a way to automatically print the page number, complete file path and date at bottom of each  page (set to landscape)?
    Thanks!

    Thanks Carlos,
    It looks like the work72a would work if we were using macs, but we're not...
    And there is NO WAY my boss will pay $999 for the other one, even if it did work.
    So, now I'm open to other suggestions. We have hundreds of clients that we do work for, and our jobs are organized in folders for each client. A lot of clients with the same name but different locations (ie., Fox Meadow OH, Fox Meadow TX), and each has a different folder. The files are named by dept and year (ie., 2012 Glass, 2012 Art). We often access old files (which, there are thousands of, because they have been organized this way for years.) We need to have the client folder on the page along with the file name (hence the file path).
    The script that Carlos created is great, but there are too many steps. Open the script, change location and select info to be displayed (3 steps), close script. There are days we access 50 jobs and the script just added 5 plus steps to each job.
    Is there a way to use a hot key run a script that will place the info when and where we need it and auto close the script? Or is there a way to display the full path (in the Illustrator tab?) where we can see which folder the file is in and we will manually type the folder? Or does anyone have another suggestion?

  • How to get absolute File Path using JFileChooser?

    Hi,
    IS there any way by which we can get the absolute file path ? e.g. If I browse thro JFileUser and Selects "a.txt" and say open, it should return me the complete file
    path e.g. D:/abc/a.txt.
    Present method.fileChooser.getSelectedFile().getName() return the name of the file i.e. a.txt and NOT the complete path.
    Pls Help !!

    fileChooser.getSelectedFile().getAbsolutePath(); will do the trick.

Maybe you are looking for