Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Command output to file

Reply
 
Old 11-20-2007   #1 (permalink)
André Landreau


 
 

Command output to file

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


My System SpecsSystem Spec
Old 11-20-2007   #2 (permalink)
R. C. White


 
 

Re: Command output to file

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
rc@xxxxxx
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)

"André Landreau" <amlandreau@xxxxxx> wrote in message
news:0575F575-2A8E-470E-B444-9CFCF78DAD92@xxxxxx
Quote:

> 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
My System SpecsSystem Spec
Old 11-20-2007   #3 (permalink)
André Landreau


 
 

Re: Command output to file

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é



"R. C. White" <rc@xxxxxx> wrote in message
news:6C43BA30-9C22-4D30-B6C7-662ED62570B9@xxxxxx
Quote:

> 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
> rc@xxxxxx
> Microsoft Windows MVP
> (Running Windows Live Mail 2008 in Vista Ultimate x64)
>
> "André Landreau" <amlandreau@xxxxxx> wrote in message
> news:0575F575-2A8E-470E-B444-9CFCF78DAD92@xxxxxx
Quote:

>> 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
>
My System SpecsSystem Spec
Old 11-20-2007   #4 (permalink)
R. C. White


 
 

Re: Command output to file

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
rc@xxxxxx
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)

"André Landreau" <amlandreau@xxxxxx> wrote in message
news:2410AF23-5E7E-4BC0-BECE-574B33DD0995@xxxxxx
Quote:

> 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é
>
> "R. C. White" <rc@xxxxxx> wrote in message
> news:6C43BA30-9C22-4D30-B6C7-662ED62570B9@xxxxxx
Quote:

>> 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
>>
>> "André Landreau" <amlandreau@xxxxxx> wrote in message
>> news:0575F575-2A8E-470E-B444-9CFCF78DAD92@xxxxxx
Quote:

>>> 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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Send command line via WMI - Pipe output to text file on remote mac PowerShell
Re: Send command line via WMI - Pipe output to text file on remote PowerShell
capture command and its output PowerShell
Log command output to a file PowerShell
How to catch a command output ? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46