Windows Dev Center

Export all file names from a search


  • Hi,

    I'm trying to search our server and print out a list of all the *.mdb files.  I found the "how to" below, but it is only returning about 13 of the more than 100 results.  Anyone know why and how to get all the results? My thanks to Dani for getting me started.

    Hi, this is an old thread, but  I hope this info can be useful for somebody:

    you can make this with "DIR" command:

    dir *search-pattern* *modifiers* > *output-file"

    For example, if you want to export a search of names of files with .pdf extension located in c:\home\user and its subfolders to a text file:

    dir c:\home\user\*.pdf /s /b > result.txt





    Monday, April 11, 2011 7:36 PM