Re: Printing Files

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dave (Dave_at_discussions.microsoft.com)
Date: 01/06/05


Date: Thu, 6 Jan 2005 09:25:04 -0800

I'm sorry I'm not familiar with dos
I go to start run, and type command
the I change the directory till I get to the directory I want to be in?
I then type c:\dirlist.txt? what does this do?
I then type c:\dirlist.txt again? I'm confused?

"JDThree [MVP]" wrote:

> On 1/6/2005 11:09:10 AM, "=?Utf-8?B?RGF2ZQ==?="
> wrote: >How do you use the command line to redirect
> output to a textfile? >
>
> You'd pipe it to a file - example:
>
> command > file.txt
>
> dir > c:\dirlist.txt
>
> dir /s > c:\dirlist.txt
>
> dir /o:d > c:\dirlist.txt
>
> etc...
>
>
> --
> John
>



Relevant Pages

  • Re: Alternative to rar split files?
    ... that the TYPE command was only used for text files. ... binary files, until it hit a char 26, which was used as EOF marker in text ... That's no longer true since at least DOS 5.x, ... The knack lies in learning how to throw yourself at the ground and miss. ...
    (alt.os.linux.suse)
  • Re: how to run a DOS command
    ... Why not doing it from Access without shelling to DOS by using the filecopy ... Should work just like redirecting the output of the type command ...
    (microsoft.public.access.formscoding)
  • Re: keeping CMD window opened
    ... but if you go to start run and type cmd and click on ok you get the ... You can also type command and click ok. ... You can run Dos applications from there. ... >flash the DOS window and end. ...
    (microsoft.public.windowsxp.help_and_support)