Archived from groups: microsoft.public.windowsxp.help_and_support (
More info?)
Hi, not wanting to be critical or offend you but I think you may have
left out a redirection ">"
dir /b /s >c:\MyList.txt
(This will send the output from dir /b /s [dir /BRIEF /Subdirs as
well] to the file Mylist.txt which will then be placed in the root
directory of drive c: (so you can find it, open it with wordpad and
edit out what you do not want and then print it from wordpad, this way
you can easily alter the fonts, page layout etc)).
I often find when I read my postings that I have made terrible typos
or got so carried away that I leave out words or parts of words.
Jim McC
On Sun, 04 Sep 2005 18:00:00 +0100, "MY NAME" <MYNAME@ANYWHERE.ORG>
wrote:
>Just for completeness, if you want subdirectories as well then try this:
>
>dir /b /s MyList.txt
>
>hope this proves useful.
>
>
>James Silverton wrote:
>>
>> Bruce wrote on Sat, 03 Sep 2005 09:54:52 -0600:
>>
>> BC> Mickey Mouse wrote:
>> ??>> Thanks Bill,
>> ??>> I don't think that will work but I'll try it. I say that
>> ??>> because to use the command prompt means you go into DOS.
>> ??>> I believe Dos only allows 8 characters plus
>> ??>> extension. Hard to believe Windows doesn't have this
>> ??>> function..
>> ??>>
>> BC> Your reasoning is flawed. The Command Line Interface
>> BC> (CLI) is most definitely *not* MS-DOS, so it isn't affected
>> BC> by the limitations of that entirely different operating
>> BC> system.
>>
>> Of course, Bruce is correct but I might add that you may get
>> more a satisfactory listing without editing out surplus
>> information by using DIR/B. Try Help Dir in the Command Window.
>>
>> James Silverton.
>