hidden hit counter
Help!

sending contents of a command prompt to a text file

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> New Users RSS
Next:  XP Driver Loading Problem?  
Author Message
sulxxx
External


Since: Aug 03, 2009
Posts: 2



PostPosted: Sun Aug 02, 2009 9:10 pm    Post subject: sending contents of a command prompt to a text file
Archived from groups: microsoft>public>windowsxp>newusers (more info?)

is it possible to send the contents of a command prompt to a text file?
the command prompt is "arp-a"

--
Dual Boot WinXP Pro SP3 with Windows 7
Back to top
Anteaus
External


Since: Aug 08, 2007
Posts: 16



PostPosted: Mon Aug 03, 2009 1:25 am    Post subject: RE: sending contents of a command prompt to a text file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

New file each time:
arp - a >arp.txt

Add to existing file:
arp -a >>arp.txt

"Sul@MS NewsServer" wrote:

> is it possible to send the contents of a command prompt to a text file?
> the command prompt is "arp-a"
>
> --
> Dual Boot WinXP Pro SP3 with Windows 7
>
>
>
Back to top
chas2209
External


Since: Aug 03, 2009
Posts: 6



PostPosted: Mon Aug 03, 2009 10:10 am    Post subject: Re: sending contents of a command prompt to a text file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Sul@MS NewsServer" <sulxxx.TakeThisOut@live.com> wrote in message
news:OfoS2P9EKHA.1488@TK2MSFTNGP03.phx.gbl...
> is it possible to send the contents of a command prompt to a text file?
> the command prompt is "arp-a"
>
> --
> Dual Boot WinXP Pro SP3 with Windows 7
>
>

Hi
Create Blank Text Document
Open the command prompt, Right click within the window >Select All
Then Paste to text document

chas2209
Back to top
sulxxx
External


Since: Aug 03, 2009
Posts: 2



PostPosted: Tue Aug 04, 2009 3:10 am    Post subject: Re: sending contents of a command prompt to a text file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanks

"Anteaus" <Anteaus.RemoveThis@discussions.microsoft.com> wrote in message
news:200A5E4F-E03E-4ACD-9069-EC706BC97211@microsoft.com...
>
> New file each time:
> arp - a >arp.txt
>
> Add to existing file:
> arp -a >>arp.txt
>
> "Sul@MS NewsServer" wrote:
>
>> is it possible to send the contents of a command prompt to a text file?
>> the command prompt is "arp-a"
>>
>> --
>> Dual Boot WinXP Pro SP3 with Windows 7
>>
>>
>>
Back to top
Ramesh Srinivasan, MS-MVP
External


Since: Mar 04, 2009
Posts: 8



PostPosted: Sat Aug 15, 2009 2:10 pm    Post subject: Re: sending contents of a command prompt to a text file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Right-click anywhere in the Command Prompt, and click Select All
Press {ENTER}. The output is now copied to the Windows clipboard.

See also:
Copy command-line output directly to the Clipboard using Clip.exe:
http://www.winhelponline.com/articles/248/1/Copy-command-line-output-d...ctly-to

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]
------------------------------------------------------------------------------
Supporting Windows® 7, Vista & XP http://www.winhelponline.com
------------------------------------------------------------------------------


"Sul@MS NewsServer" <sulxxx.TakeThisOut@live.com> wrote in message
news:OfoS2P9EKHA.1488@TK2MSFTNGP03.phx.gbl...
> is it possible to send the contents of a command prompt to a text file?
> the command prompt is "arp-a"
>
> --
> Dual Boot WinXP Pro SP3 with Windows 7
>
>
Back to top
Tim Meddick
External


Since: Feb 16, 2009
Posts: 128



PostPosted: Sun Aug 16, 2009 5:10 pm    Post subject: Re: sending contents of a command prompt to a text file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What "Anteaus" wrote was all that you needed to know about sending output to a file.

However, I wanted to give you a little bit of general advice about the use of
"switches".

In your example "arp-a" the "-a" was the "switch".

But you should *always* leave a space between the command and between any individual
switches.

e.g. : dir /a /o /p
arp -a -g

==

Cheers, Tim Meddick, Peckham, London. Smile




"Sul@MS NewsServer" <sulxxx.RemoveThis@live.com> wrote in message
news:OfoS2P9EKHA.1488@TK2MSFTNGP03.phx.gbl...
> is it possible to send the contents of a command prompt to a text file?
> the command prompt is "arp-a"
>
> --
> Dual Boot WinXP Pro SP3 with Windows 7
>
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> New Users All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum