Taperssection.com

Gear / Technical Help => Post-Processing, Computer / Streaming / Internet Devices & Related Activity => Topic started by: ford prefect on May 14, 2007, 07:05:29 AM

Title: Command Line Help
Post by: ford prefect on May 14, 2007, 07:05:29 AM
Does anyone know of an NT command that will dump an entire folder structure to the window?  "dir" just spits the current level into out, I'm looking for something that will also grab subfolders.  For example:

>-1990
>>--ph1990-01-01.flac16
>>--ph1990-01-02.flac16
>-1991
>>--ph1991-01-01.flac16
>>--ph1991-01-02.flac16

It's a pain to have to do this for each folder and then concatenate them afterwards.   :)  Just looking for ideas to make this easier. 

Thanks,
Title: Re: Command Line Help
Post by: Brian Skalinder on May 14, 2007, 09:04:31 AM
I'm not completely clear on what you're trying to accomplish, but dir /b /s will produce a simple listing of the directory structure, including any subdirectories.
Title: Re: Command Line Help
Post by: ford prefect on May 14, 2007, 09:07:51 AM
I'm not completely clear on what you're trying to accomplish, but dir /b /s will produce a simple listing of the directory structure, including any subdirectories.


Bingo.  Thanks Brian, forgot to check the help files for the dir command.  That did the trick.

dir /b /s > test.txt

-Brad

EDIT:  This actually worked slightly better requiring a lot less edits, since I'm really only looking to spit out the folders, and not the files.

dir /b /s /a:D > test.txt