Printing folder file names

Is there any easy way I can print the file names of any particular folder so I can I have a printed record of it's contents?

Peter,
There are several ways you can accomplish that task.
Check these threads for possible solutions:
Printing Contents of Folder
Printing Window Contents
For additional suggestions Search Discussions with the term "print contents."
;~)

Similar Messages

  • How to print the file name in sap

    Hi All,
    I have requirment like,
    there is a folder in my local system, inside that folder there are 10 Excel file like file1.xls,file2.xls..............file10.xls
    how to print the file name of all these file in SAp like
    file1.xls
    file2.xls
    file3.xls
    file4.xls
    file10.xls
    Appropriate points will be rewarded.
    Thanks in Advance
    Arun kumar

    Hi,
    Still you are facing any problem with this code expalin the problem with details , otherwise close this thread.
    Use Method <b>cl_gui_frontend_services=>directory_list_files</b> to read file names for a given directory
    after reading the files then Use FM : <b>RSPO_SX_OUTPUT_TEXTDATA</b> to create spool from internal table data and print the data.
    <b>sample code :</b>
    data: desktop_dir type string.
    data: ifiles type table of string.
    data: xfiles type string.
    data: count type i.
    data: filepath type string.
    call method cl_gui_frontend_services=>get_desktop_directory
      changing
        desktop_directory    = desktop_dir .
    call method cl_gui_cfw=>flush.
    call method cl_gui_frontend_services=>directory_list_files
      exporting
        directory                   = desktop_dir
    *    filter                      = '*.xls'
         files_only                  = 'X'
    *        DIRECTORIES_ONLY            =
      changing
        file_table                  = ifiles
        count                       = count.
      DATA : x_name       LIKE tsp03d-name,
             x_dest       LIKE tsp03d-padest VALUE 'LOCL',
             x_rows       LIKE sxpcklsti1-body_num VALUE 0,
             x_startrow   LIKE sxpcklsti1-body_start VALUE 1,
             x_pages      LIKE rspotype-pages VALUE 1,
             x_pages_1    TYPE p DECIMALS 2,
             x_rqtitle    LIKE sxpcklsti1-obj_descr,
             x_rqcopies   TYPE i VALUE 1,
             x_rqowner    LIKE trdyse01cm-username,
             x_immediate  LIKE pri_params-primm VALUE ' ',
             x_rqid       LIKE tsp01-rqident,
             i_contents    LIKE  solisti1 OCCURS 0 WITH HEADER LINE,
          x_pages   = 1.
          x_rqowner = sy-uname.
          x_dest     = 'LOCL'.
          x_startrow = 1.
          x_rqcopies = 1.
          x_immediate = 'X' .
          CALL FUNCTION 'RSPO_SX_OUTPUT_TEXTDATA'
           EXPORTING
    *       name                 =   x_name
             dest                 =  x_dest
             rows                 =  x_rows
             startrow             =  x_startrow
             pages                =  x_pages
             rqtitle              =  x_rqtitle
             rqcopies             =  x_rqcopies
             rqowner              =  x_rqowner
             immediately          =  x_immediate
           IMPORTING
             rqid                 =  x_rqid
           TABLES
             text_data            = i_contents
           EXCEPTIONS
             name_missing         = 1
             name_twice           = 2
             not_found            = 3
             illegal_layout       = 4
             internal_error       = 5
             size_mismatch        = 6
             OTHERS               = 7.
          IF sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Regards
    Appana
    *Reward Points for helpful answers
    Message was edited by: L Appana

  • Is there a way of printing the file name from within the Preview application?

    If I'm printing a file within Apple's Preview application, I sometimes want to be able to print the file name at the edge of the document. Does anyone know of way of doing this?

    Thanks for replying, that goes some way to answering the question, but I'm also looking to see how much space each app and its associated documents are using, i.e. Pages comes in at 112Mb for the app alone, but I'd like to know how much space is being used by the documents as well.
    Once again thanks,
    SG

  • How to print .sql file name in the same file using sqlplus

    Oracle 10g on Linux platform.
    I am trying to print the name of .sql script file in that file but could not. Following is the file:
    test.sql
    select '&0' from dual;But instead of printing, it is asking for input:
    SQL> @test.sql
    Enter value for 0: Can any body give me a hint as how can i print the file name.

    Use this
    SELECT FNAME_KRBMSFT AS name FROM X$KRBMSFT
    and see
    SQL> create or replace procedure get_dir_list
    2 (p_directory varchar2)
    3 is
    4 l_null varchar2(100);
    5 l_directory varchar2(100);
    6 BEGIN
    7 l_directory := p_directory;
    8 sys.dbms_backup_restore.searchfiles(l_directory, l_null);
    9 FOR x IN (select fname_krbmsft fname from x$krbmsft) LOOP
    10 dbms_output.put_line(x.fname);
    11 END LOOP;
    12
    13 END;
    14 /
    Edited by: HuaMin Chen on Jun 26, 2012 12:26 PM

  • How do I print the file name of a PDF file?

    How do I print the file name of a PDF file?

    In the print dialog under Advanced you can specify this.

  • Can I print the File name and page number

    When printing a file, I would like to print the File Name and the page number also...something like a header, in every page printed.  Is this possible in Acrobat?  Please advise.
    Thanks

    Sure. Did you look under Tools - Pages - Header & Footer ?

  • Batch Printing with File Names in Photoshop CS5

    How can I batch print hundreds of images with the file name on each of the print? I also need them to be printed at their original dimensions, which mean they should not be scaled when printed to papers.  Any help would be greatly appreciated. Thanks.

    Thanks for your response, Noel. However, the images to be printed at their actual dimensions and resolution (300ppi). This is so that we can see how their qualities are going to be when they are printed the actual publication, which is at 300ppi.
    What I used to be able to do in CS3 is creating an action in Photoshop that contains a print command with "label" or file name option on. Then I ran the script through the batch command in Bridge. However, in CS5, when I tried to same method, all of the images are printed at 1/2 an inch while they are actually 3-5 inches at 300ppi. Therefore, I am trying to another method that would give me the same result.

  • Selection of Folder/File name using the same Fun.Module

    Please let me know if there is a function module which can fetch folder name/File name  from the directory path when f4 option of selection screen field is selected. Currently I am able to get the file name using FM F4_DXFILENAME_4_DYNP but the requirment is like I have to select either folder name or the file name depending on user selection.
    Note: Please let me know if there is a single Function module which can get folder name or the file name based on the user selection.i.e, if the user want to select a folder he can select or he can select files in the folder for processing

    Hi sridhar
    try this:
    PARAMETER : TXT_FILE(100).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR TXT_FILE.
    PERFORM GETFILE.
    start-of-selection.
    PERFORM GETDATA.
    FORM GETDATA.
      DATA : FILENAME TYPE STRING.
      FILENAME = TXT_FILE.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      = FILENAME
         FILETYPE                       =  'ASC'
         HAS_FIELD_SEPARATOR           = 'X'
        HEADER_LENGTH                 = 0
        READ_BY_LINE                  = 'X'
        DAT_MODE                      = ' '
        CODEPAGE                      = ' '
        IGNORE_CERR                   = ABAP_TRUE
        REPLACEMENT                   = '#'
        CHECK_BOM                     = ' '
      IMPORTING
        FILELENGTH                    =
        HEADER                        =
        TABLES
          DATA_TAB                      = IT_UPLOAD
      EXCEPTIONS
        FILE_OPEN_ERROR               = 1
        FILE_READ_ERROR               = 2
        NO_BATCH                      = 3
        GUI_REFUSE_FILETRANSFER       = 4
        INVALID_TYPE                  = 5
        NO_AUTHORITY                  = 6
        UNKNOWN_ERROR                 = 7
        BAD_DATA_FORMAT               = 8
        HEADER_NOT_ALLOWED            = 9
        SEPARATOR_NOT_ALLOWED         = 10
        HEADER_TOO_LONG               = 11
        UNKNOWN_DP_ERROR              = 12
        ACCESS_DENIED                 = 13
        DP_OUT_OF_MEMORY              = 14
        DISK_FULL                     = 15
        DP_TIMEOUT                    = 16
        OTHERS                        = 17
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.
    FORM GETFILE.
      CALL FUNCTION 'WS_FILENAME_GET'
       EXPORTING
        DEF_FILENAME           = ' '
         DEF_PATH               = '.'
        MASK                   = ' '
        MODE                   = ' '
        TITLE                  = ' '
       IMPORTING
         FILENAME               = TXT_FILE
        RC                     =
      EXCEPTIONS
        INV_WINSYS             = 1
        NO_BATCH               = 2
        SELECTION_CANCEL       = 3
        SELECTION_ERROR        = 4
        OTHERS                 = 5
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.
    <b>This is a part of my BDC program its working for me u try n reply if it works for u.</b>
    regards
    vijay

  • Cannot Print - Output File Name Requsted - Help

    I'm having problems printing.  I am using Reader 8 and everytime i try to print, a print to file box pops up, and requests and output file name and i don't know what that is.  Can anyone please tell me what this means and how i can resolve this issue. I can print everything else and there is no problem with my printer. I think the problem is w/ Reader.  Thanks.

    Delete ALL instances of your printer in the Printes & Faxes control panel. If your printer isn't using the latest drivers from the manufacturer Website, download/install them, then reconnect to your printer to add it back to your system. Once the printer with the latest drivers is reinstalled, see if Reader doesn't print correctly now.
    Let me know how it goes!
         Michael

  • What are the folder/file names of PSE12 catalogs?

      I'm curious about what files/folders are created by PSE 12 when setting up the original catalog and then each subsequent catalog.  Also, what files/folders are created for the PSE backup and is there a default folder/file structure tied to the catalog - or is it wholely separate?

    LinusF wrote:
    I "know" about the Program Data ....catalogs/[my catalog] location.  Is there any file necessary to the catalog which is NOT there?
    The catalog folders contain everything that is necessary for the organizer. The only thing you might consider is to take a note of your preferences settings. The backup folders also contain everything necessary; the only difference is that it may take some time to rebuild the 'cache' files automatically after the restore.
    Put another way, I am moving many, many files off my current C: drive in order to install an SSD.  I want to make super sure that I catch everything PSE may have stashed here and there and get it out to "safety" before reformatting this disk.  Thanks for all the help you've been along the line.
    The backup and restore process is highly recommended in your situation, but generally it's not the only way to 'move' catalogs and media libraries. Let's say you have all your media files under a single master folder such as 'My photos', you can use the Folder view (left panel) to drag and drop on another external or internal drive. Your catalog is then updated for the new location.
    - advantage : you can check the transfer immediately
    - drawback : you must be patient...
    That's for transferring your media library, now you can also move your catalog folder, either manually or by using the catalog manager 'move' option.
    So, the backup/restore process is not the only way.
    If you want to keep only your Elements program on the SSD, I would not store the catalogs there, I'd store the catalogs in custom location in your old reformatted internal drive. You'll need an external drive for the backup. Alternatively, you could move library and catalogs to the external drive, and back to the old reformatted drive as explained above. You might even use the external drive for both purposes...

  • XI 3.0 File receive comm.channel using variable for folder/file name schema

    Hi,
    I prepared a integration message to produce .txt file output of message.
    I prepared message successfully, it's running properly and producing .txt file.
    My problem is to set .txt file name.
    I must set file name using by some information in .txt file.
    I must get some part of the first line of .txt to set filename.
    I declared a variable to do it.
    How can i set referance of variable?
    payload:..?
    Thanks.

    Hi,
    this blogs might be helpful:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417800%29ID0935780750DB11281184595516315205End?blog=/pub/wlg/13704
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417800%29ID0935780750DB11281184595516315205End?blog=/pub/wlg/2664
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417800%29ID0935780750DB11281184595516315205End?blog=/pub/wlg/1888
    http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
    Regards
    Patrick

  • Adobe Acrobat 9.0 Standard - PDF Printer suppress file name prompt

    Hi,
    We are currently developing a product for Autodesk Revit with regards to drawing generation/export.  Revit does not have an inbuilt PDF writer.  As such most users either use free PDF Printers or Adobe Acrobat Standard.
    We have managed to automate the naming of files using some of the free PDF printers, and suppress the file save as name prompt for each sheet in a set of prints.
    We'd also like to add support for Adobe Acrobat 9.0 Standard.  Is this possible through the Acrobat API?
    Any prompt help would be greatly appreciated as we are keen to get our product out to market very soon!
    Thanks.

    Thanks.  That's all I needed for now.  Our developer will take a look when he comes to doing that section of the product.
    Cheers.

  • Where (drive, folder, file name) are the database files that store catalog information such as tags and changed dates in Elements 13?

    I want to backup just the datebae file that holds catalog data.  I can't find it in Elements 13 but could in Elements 10.  Is it hidden in a secret file with a secret name?  Why?

    The catalog is a folder containing the main database (catalog.pse13db), the thumbnails cache (thumb.5.cache) and other files and subfolders. To save a catalog, you save the whole catalog with its subfolders. Note that if you don't save the thumbnail cache (which is the biggest item in the catalog), it will be rebuilt automatically.
    In all versions of Elements, Win or Mac, you find its location from the menu: Help/System information.
    By default it's in a hidden folder in Windows.
    Why? I don't know, but you can tell the Windows Explorer to show hidden files. That's up to you; I always do that.
    Should the catalog always be in the default location? Not at all. You can move it elsewhere. For instance you can hold your image library and your catalog to an external drive. Then, the catalog manager shows it as beeing in 'custom location'.
    The following is not in your question, but I assume you are asking that for backup purposes. If you have an external backup system, you should include the catalog folder. That is not enough if you want to restore to another computer or drive because the original is dead. The catalog stores the picture files location with reference to the path, but also to the internal serial number of the drive. Changing drive means that all files will be shown 'missing' or 'disconnected', and you'll have to run a 'reconnect' procedure. You don't need the reconnection if you use the internal backup/restore process in the Organizer.
    Use Backup, Restore to move catalog | Organizer | Elements 6 or later
    If you are not in the situation of a crash, but you simply want to update (includinge updating PSE version), the integrated system is ideal.
    Other backup systems have their advantages. I do use Windows SyncToy after each significant editing session, and the Organizer backup at regular intervals.

  • Printing Data File name on report...

    I need the datafile names to print on a report - we give the user serval files to choose from on the report and it would be nice to have the one selected as a note on the report

    we use a formula that alowes the to select say a file named New or Current.  Both data files are layed out te same just different data.  We have a internal formula.
    Formula: tsAskFile
    Description Use the tsAskFile formula to limit the file types the operator can choose when
    the report runs. This formula applies to the main report. It also applies to all
    subreports unless you use the tsSubAskFile formula on the subreports. This
    formula does not have file merging capabilities. If you use the following formula
    example on a report design, the report will prompt the operator to choose
    between the New.glt file and the Current.glt file when the report runs. Without
    the formula on the report, the operator could choose whatever file codes are
    available.
    Syntax u201C[<file type>(<file code name>[,<file code name>]*)]u201D
    <file type> = the abbreviation of the data file type; for example: BLI, GLT, APT,
    etc.
    <file code name> = the file code name of the data file; for example: new, current,
    history, active, standard, etc.
    Example @tsAskFile = u201CGLT(new,current)u201D or u201CGLT(new, current)JCT(current)u201D
    So we want to know which one the choose.

  • Changing Folder File Name Color

    Hi, in the finder I can select different background colors for each folder easy from the view options. I like black background however the problem is that when I select it, I cannot see the names of the files inside that folder anymore (since the names are also black). Is there a way to change the names of the files in a folder to white, or another color?
    Thanks in advance, regards,

    Actually black background color was just an example to simplify my question.
    Normally I use background pictures for my folders (that represent those folders). Most of the background pictures include quite black color in it and when the text intersects with the black color it becomes unreadable. So this is my problem
    It basically boils down to my first question of course.

Maybe you are looking for

  • Strange items deletion in various applications as if the Delete key being pressed.

    I work with a T420 laptop docked in a docking station. The following strange phenomenon is happaning: Occasionally, Items are being deleted or attempt to be deleted in various applications as if the Delete key is being pressed constantly. Examples: 1

  • I had a problem to capture The Panasonic AJ-1400HD  to CS5 Premiere

    hi dear every one i had a problem to capture The Panasonic AJ-1400HD  to CS5 Premiere , the time code running but there are no video picture . some one help , please...............

  • Running a Unix script from a Java class

    I am trying to use SCP (Secure copy) to copy an xml file from my J2EE application to a remote Unix server using a Unix script. How can I run the Unix script from my Java class? I could not find any resource for this on the internet. Can someone help

  • How to distribute/sell Java database desktop application ?

    Hi, I have developed a java desktop application(it is a kind of knowledgebase program) which uses mysql as a database, everything runs fine but I would like to know that how shall I distribute or sell my program. My questions in short: How to create

  • SPNEGO authetification

    Hi, I have a dual stack installation (ABAP+J2EE) with an ABAP UME. I wish to implement LDAP authetification and understand that the configuration cannot be changed due to limitation imposed when the UME is ABAP. SPNEGO(kerberos) authentification is n