Become a Site Supporter and Never see Ads again!

Author Topic: Command Line Help  (Read 1400 times)

0 Members and 1 Guest are viewing this topic.

Offline ford prefect

  • Trade Count: (1)
  • Taperssection Member
  • ***
  • Posts: 553
  • Gender: Male
Command Line Help
« 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,

Offline Brian Skalinder

  • Complaint Dept.
  • Trade Count: (28)
  • Needs to get out more...
  • *****
  • Posts: 18872
  • Gender: Male
Re: Command Line Help
« Reply #1 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.
Milab VM-44 Links > Fostex FR-2LE or
Naiant IPA (tinybox format) > Roland R-05

Offline ford prefect

  • Trade Count: (1)
  • Taperssection Member
  • ***
  • Posts: 553
  • Gender: Male
Re: Command Line Help
« Reply #2 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
« Last Edit: May 14, 2007, 09:24:03 AM by ford prefect »

 

RSS | Mobile
Page created in 0.06 seconds with 27 queries.
© 2002-2024 Taperssection.com
Powered by SMF