copy text not contents

Page 1 of 3 123 LastLast

  1. Posts : 30
    Windows 7 64 bit Professional
       #1

    copy text not contents


    this should be an easy one but I can't figure it out.

    using windows explorer for my example -

    I have a folder that has lots of sub folders in it.

    I want to copy the names (text only) of the sub folders to a document but not the contents (files) of the sub folders.

    how do I do this? when I try to a copy it wants to copy name & contents.

    any ideas?
      My Computer


  2. Posts : 10
    xp, win7
       #2

    open a cmd shell in the top dir

    dir /d > filename.txt
      My Computer


  3. Posts : 30
    Windows 7 64 bit Professional
    Thread Starter
       #3

    thanks for the DOS help - win 7 popped open a notepad window - very cool.
      My Computer


  4. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #4

    oystercatcher said:
    nedjinski said:
    this should be an easy one but I can't figure it out.

    using windows explorer for my example -

    I have a folder that has lots of sub folders in it.

    I want to copy the names (text only) of the sub folders to a document but not the contents (files) of the sub folders.

    how do I do this? when I try to a copy it wants to copy name & contents.

    any ideas?
    open a cmd shell in the top dir

    dir /d > filename.txt
    THANK YOU!!!

    I want to take this one level deeper and get the names of the directories under that top directory. Can someone help?

    -thnx in advance
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    MourningStar said:

    I want to take this one level deeper and get the names of the directories under that top directory. Can someone help?

    -thnx in advance
    use tree command?
      My Computer


  6. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #6

    logicearth said:
    MourningStar said:

    I want to take this one level deeper and get the names of the directories under that top directory. Can someone help?

    -thnx in advance
    use tree command?
    How? example please, I am born yesterday :)

    thnx 4 reply
      My Computer


  7. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #7

    This may work great for this as well. :)

    Context Menu - Add View and Print File Directory - Vista Forums
      My Computer


  8. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #8

    Brink said:
    Thnx Brink - that stuff looks too complex for me.

    oystercatcher's solution is simple for a neophyte such as myself and does one level short of what I am wanting (the text file creation is perfect). Maybe an additional switch in the dir command or an alternate (tree?) dos command?

    -thnx
      My Computer


  9. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #9

    You're welcome. What works for you is what is important. :)
      My Computer


  10. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #10

    Brink said:
    MourningStar said:
    Brink said:
    Thnx Brink - that stuff looks too complex for me.

    oystercatcher's solution is simple for a neophyte such as myself and does one level short of what I am wanting (the text file creation is perfect). Maybe an additional switch in the dir command or an alternate (tree?) dos command?

    -thnx
    You're welcome. What works for you is what is important. :)
    thnx again - any other ideas?
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:41.
Find Us