Maping out a Network drive folders


  1. Posts : 5
    Win 7
       #1

    Maping out a Network drive folders


    Hello,

    I am working on a project for my office, I am to map out the contents of a network drive. I would essentially need a way of puting the file directories into a text file or something to that effect.

    I am sure that there is a way to do it with a batch file, but it has been so long since I have touched dos that I wouldn't even remember where to start.

    We have a batch file floating about that lists off files in a the folder you are currently in (I think)... not sure if that would help at all... I will eventually need to compile the contends of folders and subfolders...

    In any event, I am hoping there is a faster way than going through folder by folder lol
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    In command prompt try
    Tree /F

    see if the output is suitable.

    Or if you want a straight directory listing you could do
    dir /s >files.txt

    to save the output in that file. See dir /? for switches how to format the output.
      My Computer


  3. Posts : 5
    Win 7
    Thread Starter
       #3

    That's great thanks very much!
      My Computer


  4. Posts : 5,092
    Windows 7 32 bit
       #4

    You're most welcome.
      My Computer


 

  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 11:03.
Find Us