DOS text copying

i can use Visual C++ 6.0 or Dev-C++ to code in C++ and i was wonderin if there is a function that if i display the directory of a folder in the DOS promptit will copy everything on the DoS screen to a file
is this possible, thanks

Comments

  • : i can use Visual C++ 6.0 or Dev-C++ to code in C++ and i was wonderin if there is a function that if i display the directory of a folder in the DOS promptit will copy everything on the DoS screen to a file
    : is this possible, thanks
    :
    Just use:

    dir >filename

    And the output of the command will be the file you specified.

    nICO

    [hr]
    [italic]How beautiful, if sorrow had not made Sorrow more beautiful than Beauty itself.[/italic]
    JOHN KEATS


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion