Jump to content











Photo

How to copy contents of DOS prompt in windows


  • Please log in to reply
3 replies to this topic

#1 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 24 April 2008 - 07:51 PM

=================================================================
How to copy contents of DOS prompt in windows
=================================================================
Some times happen that we are working by command prompt in windows
and we like or need to copy contents of dos prompt to a text file.

Or some times when working in dos prompt we want to copy some data
from text file in windows, to command window.

Doing both of them are very easy as below:

=================================================================
1.Copy from text file in windows to command prompt
=================================================================
a).Open your needed txt file,and copy the part you want to place in
command window.

:lol:.Go to start,click on run,type cmd ,hit enter button.now you are
in Command prompt.

c).Right click inside command window,then click on paste.

that's all your text will be copyed to command window.

=================================================================
2.Copy from command prompt to a text file in Windows
=================================================================

A).When you are In command prompt,right click on blue side of
command window,select edit,then click on mark (Figure_1 in
attachment).

:thumbup:.Now you can select needed parts in command window by draging the
mouse,after selecting the needed part hit ENTER key.

C).Now go to notepad (or wordpad),and right click inside that,and
select paste.your selected text in command window will be copyed
to notepad.

=================================================================

hope this small tutor can help you some times.

shirin

Attached Files



#2 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4171 posts

Posted 25 April 2008 - 03:15 AM

I new about this tip. But when I didnt, there where times when I needed this type of info.
The screenshots break down very well.

#3 ' 'mith

' 'mith
  • Members
  • 6 posts
  • Interests:<br />ram ..runing stuf innit <br /><br />feedback (*welcome -but mostly Audi0 related-) <br /><br />lmms.sourceforge.net/<br /><br />backtrack<br />openfiler<br /> <br />building HW/SW -environments <br />
  •  
    Jamaica

Posted 04 May 2008 - 10:46 AM

hi shirin..

this also may be of interest command-redirection

the link's not mutch with out example tho ...

dir c&#58;\  >c&#58;\ListOfFiles.txt


the above will 'redirect' the out put of the dir command to [path]\ListOfFiles.txt

there are examples in the link that go into more detail

chearz

#4 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 04 May 2008 - 02:02 PM

hi shirin..

this also may be of interest command-redirection

the link's not mutch with out example tho ...

dir c&#58;\  >c&#58;\ListOfFiles.txt


the above will 'redirect' the out put of the dir command to [path]\ListOfFiles.txt

there are examples in the link that go into more detail

chearz

===================================
Hi mith

thank you for your post. i did not know about that.

shirin




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users