Command output to file

  • Thread starter Thread starter =?iso-8859-1?Q?Andr=E9_Landreau?=
  • Start date Start date
?

=?iso-8859-1?Q?Andr=E9_Landreau?=

Hi to all,

Using Windows Vista Ultimate, I tried the following "cmd /? /A
c:\temp\outfile.txt" it didn't work at all.
Is there a way to get a consol command output to a file (i.e. text file) ?
Thanks for help

André Landreau
 
Hi, André.

WLM word-wrapped your post at an awkward spot, right in the middle of your
quoted command line. But it looks like you are missing the ">" piping
symbol. Try this:

cmd /? /A > c:\temp\outfile.txt

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)
 
To R. CO. White,

That's it ! thanks a lot !
Up to your lead I did not know what "piping" was used for ! I keep learning
!
Cheers, André
 
Hi, André.

You're welcome. Glad I could help.

And my name is Robert Charles, but everybody calls me R. C. "Initial names"
are not uncommon here in Texas (and in my native Oklahoma). Remember J. R.
Ewing of "Dallas"? ;^}

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)
 
Back
Top