Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Printing a directory

Printing a directory

Scheduled Pinned Locked Moved The Lounge
question
20 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K kjessee

    Does anyone know of a way to print a list of files in a directory?

    H Offline
    H Offline
    Hauptman n
    wrote on last edited by
    #6

    This problem was imho not adequate enough described. Before posting, please read the following How to ask smart questions

    P J 2 Replies Last reply
    0
    • K kjessee

      Does anyone know of a way to print a list of files in a directory?

      T Offline
      T Offline
      Terry ONolley
      wrote on last edited by
      #7

      You could view the directory in explorer, hit alt-prtscrn, paste it into paintbrush and print it from there!


      Glano perictu com sahni delorin!

      J P 2 Replies Last reply
      0
      • K kjessee

        Does anyone know of a way to print a list of files in a directory?

        J Offline
        J Offline
        Jeff Varszegi
        wrote on last edited by
        #8

        Do you know about the TREE command?

        TREE /F /A > output.txt

        (or to some other output) Regards, Jeff Varszegi EEEP!  An Extensible Expression Evaluation Package

        1 Reply Last reply
        0
        • T Terry ONolley

          You could view the directory in explorer, hit alt-prtscrn, paste it into paintbrush and print it from there!


          Glano perictu com sahni delorin!

          J Offline
          J Offline
          Jeff Varszegi
          wrote on last edited by
          #9

          I've often done this myself, but if your directory has lots of files it can be a pain. Regards, Jeff Varszegi EEEP!  An Extensible Expression Evaluation Package

          1 Reply Last reply
          0
          • K kjessee

            Does anyone know of a way to print a list of files in a directory?

            N Offline
            N Offline
            nssone
            wrote on last edited by
            #10

            There used to be a DOS command like this. I would suggest looking for that. Though, there may be a problem and it'll print the files in 8.3 format.


            Who am I? Currently: A Programming Student trying to survive school with plan to go on to Univeristy of Advancing Technology to study game design. Main career interest include: Multimedia and game programming. Working on an outside project: A game for the GamePark32 (GP32) portable gaming console. My website: www.GP32US.com

            1 Reply Last reply
            0
            • H Hauptman n

              This problem was imho not adequate enough described. Before posting, please read the following How to ask smart questions

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #11

              Even thopugh I agree with Mr. Raymond about the necessity of such a document, his desire to compete with Mr Stephen King for excessiveness and lack of priorities makes the given link fairly useless. OTOH IMOPHO the problem was described adequately.


              Flirt harder, I'm a Coder
              mlog || Agile Programming | doxygen

              C 1 Reply Last reply
              0
              • T Terry ONolley

                You could view the directory in explorer, hit alt-prtscrn, paste it into paintbrush and print it from there!


                Glano perictu com sahni delorin!

                P Offline
                P Offline
                peterchen
                wrote on last edited by
                #12

                You could also paste it into excel. I mean, excel can everything, why not print the files in a directory.


                Flirt harder, I'm a Coder
                mlog || Agile Programming | doxygen

                T 1 Reply Last reply
                0
                • M Maximilien

                  it's not a programming question ...


                  Maximilien Lincourt Your Head A Splode - Strong Bad

                  M Offline
                  M Offline
                  Michael P Butler
                  wrote on last edited by
                  #13

                  Maximilien wrote: it's not a programming question ... Then maybe it should have gone in the operating systems/ sysadmin forum ;-) Michael CP Blog [^]

                  1 Reply Last reply
                  0
                  • H Hauptman n

                    This problem was imho not adequate enough described. Before posting, please read the following How to ask smart questions

                    J Offline
                    J Offline
                    Jorgen Sigvardsson
                    wrote on last edited by
                    #14

                    ESR still doesn't get it. You're supposed to claim that it's not possible. Then the geeks/nerds/defender of the technology, will jump in and offer solutions in perfect detail. This works especially well if you need help with Linux stuff. Just get on IRC and join #linux or whatever and claim that "X is crap. It can't do Y nor Z". Try it sometimes and you'll be amazed. :) -- Booohoo!

                    1 Reply Last reply
                    0
                    • K kjessee

                      Does anyone know of a way to print a list of files in a directory?

                      T Offline
                      T Offline
                      Terry ONolley
                      wrote on last edited by
                      #15

                      This sounds like a great CP article - just make sure you write it in .NET or everyone will think it is worthless. Shell integration with Right-click support for printing directories. Could come in very useful.


                      Glano perictu com sahni delorin!

                      1 Reply Last reply
                      0
                      • P peterchen

                        You could also paste it into excel. I mean, excel can everything, why not print the files in a directory.


                        Flirt harder, I'm a Coder
                        mlog || Agile Programming | doxygen

                        T Offline
                        T Offline
                        Terry ONolley
                        wrote on last edited by
                        #16

                        Did you try this? Does it work? Sounds cool if it does.


                        Glano perictu com sahni delorin!

                        1 Reply Last reply
                        0
                        • P peterchen

                          Even thopugh I agree with Mr. Raymond about the necessity of such a document, his desire to compete with Mr Stephen King for excessiveness and lack of priorities makes the given link fairly useless. OTOH IMOPHO the problem was described adequately.


                          Flirt harder, I'm a Coder
                          mlog || Agile Programming | doxygen

                          C Offline
                          C Offline
                          Colin Angus Mackay
                          wrote on last edited by
                          #17

                          peterchen wrote: IMOPHO :confused: IMO = In my opinion PHO = Physician-Hosipital organisation IMOPHO??? I'm confussed.


                          "You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar Coming soon: The Second EuroCPian Event

                          J 1 Reply Last reply
                          0
                          • C Colin Angus Mackay

                            peterchen wrote: IMOPHO :confused: IMO = In my opinion PHO = Physician-Hosipital organisation IMOPHO??? I'm confussed.


                            "You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar Coming soon: The Second EuroCPian Event

                            J Offline
                            J Offline
                            Jeremy Kimball
                            wrote on last edited by
                            #18

                            I Make Ostriches Poop Hard Omeletes? :)


                            Jeremy Kimball Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam. (I have a catapult. Give me all the money, or I will fling an enormous rock at your head)

                            1 Reply Last reply
                            0
                            • W Wackatronic

                              Yes. Post this to the correct forum and you'll probably get an answer. Read the discalimer for the lounge. No Programming Questions! Please

                              No comment, Mr. Senator

                              K Offline
                              K Offline
                              kjessee
                              wrote on last edited by
                              #19

                              Let me re-phrase the queston. A couple years ago I came across a shareware program that would print a list of file names (the names, not the contents of the file) that were contained in a specified directory. Does anyone know what this program was called, or where I can find it? Sorry, It was somewhat vague. And maybe it should have been in the General Discussion area.

                              L 1 Reply Last reply
                              0
                              • K kjessee

                                Let me re-phrase the queston. A couple years ago I came across a shareware program that would print a list of file names (the names, not the contents of the file) that were contained in a specified directory. Does anyone know what this program was called, or where I can find it? Sorry, It was somewhat vague. And maybe it should have been in the General Discussion area.

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #20

                                JD Design[^] has Print Directory (I think that's what it's called. I bought the suite back in 1999 though rarely use that item. Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So i had to leave the place as soon as possible." - Mr.Prakash 24/04/2004

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups