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

Help Required

Scheduled Pinned Locked Moved The Lounge
helpquestion
15 Posts 12 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.
  • D Dalek Dave

    Nowhere else to ask, so here goes. I have a set of files in a folder, is there a way to pick up the names and paste them into an Excel spreadsheet?

    ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

    K Offline
    K Offline
    Keith Barrow
    wrote on last edited by
    #4

    TommyTomToms answer is [edit]probablydefinately more useful, but if you need to copy-and-paste from the dos window: 1. Right click 2. Select Mark 3.Drag a rectangle over the area you want to copy 4. hit "Enter" (not return). The area selected is copied into the clipboard.

    CCC solved so far: 2 (including a Hard One!)

    T D P 3 Replies Last reply
    0
    • K Keith Barrow

      TommyTomToms answer is [edit]probablydefinately more useful, but if you need to copy-and-paste from the dos window: 1. Right click 2. Select Mark 3.Drag a rectangle over the area you want to copy 4. hit "Enter" (not return). The area selected is copied into the clipboard.

      CCC solved so far: 2 (including a Hard One!)

      T Offline
      T Offline
      TommyTomToms
      wrote on last edited by
      #5

      Cool, i didn't know that :thumbsup:

      1 Reply Last reply
      0
      • T TommyTomToms

        in command prompt dir>c:\filename.txt then copy into excel You will have to get rid of the dates somehow, a vb macro perhaps? :laugh:

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #6

        /w

        xacc.ide
        IronScheme - 1.0 beta 4 - out now!
        ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

        P 1 Reply Last reply
        0
        • K Keith Barrow

          TommyTomToms answer is [edit]probablydefinately more useful, but if you need to copy-and-paste from the dos window: 1. Right click 2. Select Mark 3.Drag a rectangle over the area you want to copy 4. hit "Enter" (not return). The area selected is copied into the clipboard.

          CCC solved so far: 2 (including a Hard One!)

          D Offline
          D Offline
          Dalek Dave
          wrote on last edited by
          #7

          Thanks guys, Got EXACTLY what I needed! Spot on.

          ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

          T V 2 Replies Last reply
          0
          • D Dalek Dave

            Nowhere else to ask, so here goes. I have a set of files in a folder, is there a way to pick up the names and paste them into an Excel spreadsheet?

            ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

            R Offline
            R Offline
            Rob Catterall
            wrote on last edited by
            #8

            Try the SendToX powertoy. When installed, right-click on your files and choose "SendTo >> Clipboard (as name)". Paste into excel - if you don't want the full path, a simple find and replace will help

            1 Reply Last reply
            0
            • D Dalek Dave

              Thanks guys, Got EXACTLY what I needed! Spot on.

              ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

              T Offline
              T Offline
              tufkap
              wrote on last edited by
              #9

              I find it easier to enable the QuickEdit and Insert modes from the system menu for a command prompt window. Then you just have to select text, right click to copy to clipboard. A second right click will paste text from the clipboard to the command prompt. When you save the change, it prompts whether you want to save the change for the current window or modify the shortcut that launched the window. If you choose the second option, it saves the hassle of doing it every time you open a new window.

              1 Reply Last reply
              0
              • T TommyTomToms

                in command prompt dir>c:\filename.txt then copy into excel You will have to get rid of the dates somehow, a vb macro perhaps? :laugh:

                M Offline
                M Offline
                Michael Schubert
                wrote on last edited by
                #10

                - "dir/b/a-d > 1.txt" - open "1.txt" in notepad - ctrl-a - ctrl-c - paste in Excel

                1 Reply Last reply
                0
                • L leppie

                  /w

                  xacc.ide
                  IronScheme - 1.0 beta 4 - out now!
                  ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

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

                  or /b if desired without path

                  Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                  | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                  1 Reply Last reply
                  0
                  • K Keith Barrow

                    TommyTomToms answer is [edit]probablydefinately more useful, but if you need to copy-and-paste from the dos window: 1. Right click 2. Select Mark 3.Drag a rectangle over the area you want to copy 4. hit "Enter" (not return). The area selected is copied into the clipboard.

                    CCC solved so far: 2 (including a Hard One!)

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

                    Right-click pastes, and my keyboard has two ENTER keys, no RETURN.

                    D 1 Reply Last reply
                    0
                    • P PIEBALDconsult

                      Right-click pastes, and my keyboard has two ENTER keys, no RETURN.

                      D Offline
                      D Offline
                      Dalek Dave
                      wrote on last edited by
                      #13

                      The ~ENTER~ is the one on the Key pad.

                      ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

                      S 1 Reply Last reply
                      0
                      • D Dalek Dave

                        Thanks guys, Got EXACTLY what I needed! Spot on.

                        ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

                        V Offline
                        V Offline
                        Vikram A Punathambekar
                        wrote on last edited by
                        #14

                        DIR /B For Barebones ;)

                        Cheers, Vikram. (Cracked not one CCC, but two!)

                        1 Reply Last reply
                        0
                        • D Dalek Dave

                          The ~ENTER~ is the one on the Key pad.

                          ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

                          S Offline
                          S Offline
                          Single Step Debugger
                          wrote on last edited by
                          #15

                          Yes but they both works in this case.:)

                          The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                          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