Copy/Paste in a DOS Prompt window
Results 1 to 8 of 8

Thread: Copy/Paste in a DOS Prompt window

  1. #1
    Geezer confus-ed's Avatar
    Join Date
    Jul 1999
    Location
    In front of my PC....
    Posts
    13,087

    Copy/Paste in a DOS Prompt window

    Since there's no attatchments here (despite what it says) this should be most useful for folks

    Copy/Paste in a DOS Prompt window for xp

    For w2k I think these are right
    Copy and paste in a DOS window

    You can use cut and paste functions between the Command Prompt and Notepad (or any other text editor).

    First, you have to make sure you're in QuickEdit mode. Open Control Panel, Console and check the QuickEdit Mode box.

    Now in any Command Prompt window.

    With your left-mouse button, select a line of text, now right-click anywhere in the Command Prompt window to COPY. (in NT 4 there is no popup menu; a right click anywhere will COPY)

    This saves the selected text to Clipboard.

    Now right-click again anywhere in the Command Prompt window to PASTE the text to the command line.

    If nothing is selected a right-click will always PASTE.

    When you select text in a DOS window with the Left mouse button, the window is in SELECT MODE - press ESC to return to editing mode.

    The Quickedit modebox can be found thus definately anyway, then I'm fairly sure it works -no w2k box to confirm this - if someone would be so kind ?

  2. #2
    Registered User
    Join Date
    Aug 2000
    Location
    Saltburn, Cleveland, United Kingdom
    Posts
    632
    It works as advertised ... might be useful sometime !
    I think I know just enough to know how much I don't know... I think...

  3. #3
    Geezer confus-ed's Avatar
    Join Date
    Jul 1999
    Location
    In front of my PC....
    Posts
    13,087
    Quote Originally Posted by Jeff the Brit
    It works as advertised ... might be useful sometime !
    Thats for w2k I pressume ? I'd tested those instructions in xp already .. many times

  4. #4
    Registered User GreenGrime's Avatar
    Join Date
    Oct 2004
    Location
    Right here, right now
    Posts
    181
    More XP Command Line Tricks


    When started a command prompt(cmd), then one can use the following function keys :
    • F1 : Repeats the letters of the last command line, one by one
    • F2 : Displays a dialog asking user to "enter the char to copy up to" of the last command line
    • F3 : Repeats the last command line (Similar to DOSKEY)
    • F4 : Displays a dialog asking user to "enter the char to delete up to" of the last command line
    • F5 : Goes back one command line
    • F6 : Enters the traditional CTRL+Z (^z) (End-Of-File)
    • F7 : Displays a menu with the command line history (Similar to DOSKEY)
    • F8 : Cycles back through previous command lines (beginning with most recent). If first typing the beginning letters of a command, then it will cycle through the previous commands matching that prefix when pressing F8.
    • F9 : Displays a dialog asking user to enter a command number, where 0 is for first command line entered


    MS Command Line Referrence

    A few of thee, like DRIVERQUERY, GETMAC and PATHPING have become so useful they have replaced other utilities which did similar functions for me.

  5. #5
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406
    nicem I use this all the time in linux, its ice to have it in windows when im in it

  6. #6
    Registered User emr's Avatar
    Join Date
    Sep 2001
    Location
    Amsterdam
    Posts
    1,312
    Lovely, I did know how to do this at one point in my tech life but of course forgot.

    I seem to remember there was a command to bring you back to root instead of having to cd.. twenty times.

    Make any sense?

    emr

  7. #7
    Registered User GreenGrime's Avatar
    Join Date
    Oct 2004
    Location
    Right here, right now
    Posts
    181
    Quote Originally Posted by emr
    Lovely, I did know how to do this at one point in my tech life but of course forgot.

    I seem to remember there was a command to bring you back to root instead of having to cd.. twenty times.

    Make any sense?

    emr
    cd\

    http://www.microsoft.com/resources/d...us/ntcmds.mspx

  8. #8
    Registered User
    Join Date
    Apr 2001
    Location
    Canada
    Posts
    478
    This can be done with the mouse as well in the regular dos window.

    Click top right corner of command prompt window border
    select edit then select mark click on the start of the line you want to copy and drag the mouse over and down to the end of what you want to copy.
    Then click again in the top right select edit and copy.
    Then you can paste it wherever you want.
    The same works for paste.

Similar Threads

  1. [RESOLVED] How can I get the key code from a dos prompt?
    By homepc in forum Windows 95/98/98SE/ME
    Replies: 5
    Last Post: February 4th, 2002, 05:28 PM
  2. Replies: 3
    Last Post: January 23rd, 2000, 08:56 PM
  3. [RESOLVED] Dos prompt woes in '98 1E
    By RuairiEgan in forum Windows 95/98/98SE/ME
    Replies: 0
    Last Post: October 4th, 1999, 08:35 AM
  4. [RESOLVED] dos in window 98se ?
    By Boeab in forum Windows 95/98/98SE/ME
    Replies: 1
    Last Post: August 23rd, 1999, 11:36 PM
  5. [RESOLVED] Strange apearance of DOS Prompt
    By ntm in forum Windows 95/98/98SE/ME
    Replies: 4
    Last Post: June 24th, 1999, 05:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •