Windows 8 and 8.1 Forums


Copy Multiple Explorer Folder names to Word or Excel

  1. #1


    Posts : 26
    Windows 8.1 Professional

    Copy Multiple Explorer Folder names to Word or Excel


    Hello Everyone,

    I have a bunch of folders in the File Explorer that I would like to copy the names to a word or excel document instead of retyping them individually. Is there a way to do that?

    Thank you for your help.

      My System SpecsSystem Spec

  2. #2


    Posts : 2,130
    Windows 8.0 x64


    Select the folders then hold down Shift while right clicking the mouse. Click "copy as path." When you paste you will get the folder names one per line. They will be wrapped in double quotes like:
    "C:\Source"
    "C:\AeroGlass"
    "C:\AMD"
    "C:\Bookmarks"
    "C:\boot"
    "C:\Docs"
      My System SpecsSystem Spec

  3. #3


    Posts : 26
    Windows 8.1 Professional


    Quote Originally Posted by MilesAhead View Post
    Select the folders then hold down Shift while right clicking the mouse. Click "copy as path." When you paste you will get the folder names one per line. They will be wrapped in double quotes like:
    "C:\Source"
    "C:\AeroGlass"
    "C:\AMD"
    "C:\Bookmarks"
    "C:\boot"
    "C:\Docs"
    Thank you for your help, but actually looking for away to copy the folder and subfolder names and no other information to a txt, word or excel document.
      My System SpecsSystem Spec

  4. #4


    Posts : 2,130
    Windows 8.0 x64


    A "bunch of folders" is different than "folders and subfolders" so I have to wonder what you mean by "names." Perhaps if you typed in what you want the result to look like that will make things unambiguous.
      My System SpecsSystem Spec

  5. #5


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Change Directory (cd) in Command Prompt to the right folder and type dir /b. To get all files recursively type dir /b /s.

    To save all names to a text file: dir /b > list.txt and/or dir /b /s > allfilelist.txt ( *.txt is saved in the current folder where the command runs).

    Good luck.
      My System SpecsSystem Spec

Copy Multiple Explorer Folder names to Word or Excel
Related Threads
Is it possible to sort a folder's contents with both File names and Sub-Folder names intermixed? I have projects in sub-folders, and 'support' files like this: projabc (sub-folder) projabc.txt (file) projabc.bat (file) amongst other projects. I would like all...
Every time I try and find those Microsoft products, I keep getting prompted to purchase Office, so I decided to just go for Apache Open Office... but is it possible to get any of those programs for free? I mean, someone I know is NOT computer savy at all, and only knows hows to use Microsoft...
Win 8.1 eliminated word and excel. I just updated to 8.1 from win 8 and have alot of documents and spreadsheets from win8 office starter package. What programs can I use to open and edit these. Also, what programs are compatible to create docs and spreadsheets in win 8.1 to be opened and edited in...
I installed 2003 outlook and word (outlook editor) on my brand new Win 8.1 netbook and when typing the "TO" and "CC" lines the names show up but when pressing enter they will not be accepted. I have to enter the first couple of letters of the names and then press the "check names" icon and go...
In Windows 8 Explorer ( have they changed the name of it ) you know, the file manager. In the left side, the top of the "tree" you have Desktop, Downloads, etc .... I created a folder when the pc was new called Jack's Stuff. Later, much later, I decided I didn't like the name with "stuff" ......
Is there a quick way to switch between a web page I am looking at and an open excel or word document or do I have to go via the start page every time ? Thanks in anticipation
Eight Forums Android App Eight Forums IOS App Follow us on Facebook