Welcome, Guest. Please login or register.

Author Topic: Win2k Directory Listing  (Read 1803 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline VincentTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 3895
    • Show only replies by Vincent
Win2k Directory Listing
« on: March 04, 2003, 02:53:35 PM »
It's me again, but you'll be glad to know that I shouldn't have any more questions about the A1200 EZ-Tower :-)

I have a directory of mp3's and want a list of them printed out - I'm not gonna type every one of them into a text file myself because there's about 200 of them.

In AmigaDOS there's a way to output a drawer list to a text file ( dir >RAM:list.txt - I think).  Is there a way to so this in Win2k?
Xbox360
"Oh no. Everytime you turn up something monumental and terrible happens.
I don\'t think I have the stomach for it." - Raziel
 

Offline mikeymike

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 3420
  • Country: 00
    • Show only replies by mikeymike
Re: Win2k Directory Listing
« Reply #1 on: March 04, 2003, 02:57:34 PM »
Have you tried that command? :-)
 

Offline VincentTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 3895
    • Show only replies by Vincent
Re: Win2k Directory Listing
« Reply #2 on: March 04, 2003, 03:11:46 PM »
Doh! :lol:
Xbox360
"Oh no. Everytime you turn up something monumental and terrible happens.
I don\'t think I have the stomach for it." - Raziel
 

Offline SilvrDrgn

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1215
    • Show only replies by SilvrDrgn
    • http://mikerye.homeip.net
Re: Win2k Directory Listing
« Reply #3 on: March 04, 2003, 03:32:04 PM »
1) cd to the directory that contains the files you want listed.
2) dir /b > ..\list.txt
(/b is "bare" format, no directory command header or trailer information.  Plus, you use "..\list.txt" for the destination because otherwise the list.txt file itself will show up in the list.)
3) print the list.txt file
Michael
 

Offline Waccoon

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1057
    • Show only replies by Waccoon
Re: Win2k Directory Listing
« Reply #4 on: March 04, 2003, 03:59:09 PM »
Don't forget "dir /?" shows you everything.  Well, everything documented, at least.
 

Offline mikeymike

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 3420
  • Country: 00
    • Show only replies by mikeymike
Re: Win2k Directory Listing
« Reply #5 on: March 04, 2003, 04:18:49 PM »
For added oddness in NT4, Win2k and beyond, get a command prompt up and type: cmd /?

 

Offline VincentTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 3895
    • Show only replies by Vincent
Re: Win2k Directory Listing
« Reply #6 on: March 04, 2003, 07:02:12 PM »
Quote

mikeymike wrote:
For added oddness in NT4, Win2k and beyond, get a command prompt up and type: cmd /?



Yeah, 7 pages of almost usless stuff :-D

This is the exact command I used:

dir/o /b >D:\testing.txt

And it worked perfectly.  I don't know why I never thought of it before, I used to use DOS a lot in my early computing days.  I didn't think it'd be as simple as that, or if it would even work - it is a PC after all ;-) - and I never thought it'd be almost exactly the same as it is in AmigaDOS - let's face it PC's arent that sensible are they ;-)

Cheers guys :-D
Xbox360
"Oh no. Everytime you turn up something monumental and terrible happens.
I don\'t think I have the stomach for it." - Raziel