Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Command output to file

Closed Thread
 
Thread Tools Display Modes
Old 11-20-2007   #1 (permalink)
André Landreau
Guest
 
Posts: n/a

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

 
Old 11-20-2007   #2 (permalink)
R. C. White
Guest
 
Posts: n/a

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
 
Old 11-20-2007   #3 (permalink)
André Landreau
Guest
 
Posts: n/a

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
>
 
Old 11-20-2007   #4 (permalink)
R. C. White
Guest
 
Posts: n/a

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
 
 
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
capture command and its output hugh PowerShell 1 02-16-2008 08:40 AM
Split output to command swyck PowerShell 3 12-03-2007 03:44 PM
Log command output to a file Romu PowerShell 10 02-09-2007 08:11 AM
How to catch a command output ? Romu PowerShell 2 01-22-2007 09:10 AM
Output Event Log From Command Line =?Utf-8?B?c2VucmFiZGV0?= Vista General 4 08-14-2006 09:23 PM








Vistax64.com 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 2005-2008

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 47 48 49