

(There are a whole bunch of other switches, but /s /b are a safe choice) (If your destination path has spaces, then you must put the path in quotes (like above)) The > character tells the results of the DIR command to be directed to a textfile called DWGTest.LST. The /b tells the DIR command to use bare format (no heading info, or summary) The /s tells the DIR command to include all subdirectories (You can use the usual wildcards (* & ?), or specify file attributes using the /A switch, to specify which files to add to your list) You'd type at the windows command prompt:ĭIR *.DWG /s /b > "C:/Program Files/Hurricane/DATA/DWGTest.LST" Lets say that your top directory is "F:\DWG\DWGTest\", and you'd like to scan for *.DWG and add all filenames to the LST file.

Navigate to your "root" directory, from where you would like to scan for the files to include in your FileList. You can easily generate Hurricane LST files at the Windows command prompt, rather than setting up a filter, navigating to a root directory, and using the "+" button to generate a new Queue list, then saving it off to a FileList (.LST file) into the Hurricane /DATA/ directory.įirst launch the Windows command line by clicking the START button, then click RUN, then type CMD in the prompt (This may vary depending on your version of windows. There may come a time when you need to generate a file list (or more) and want these file-lists to be up-to date, all the time.

#How to make a new file from windows cmd how to#
How to create a File-List using the Windows command prompt.
