Results 1 to 4 of 4

Thread: How to pass Cut paste command through CMD.exe

  1. #1
    Join Date
    Apr 2009
    Posts
    79

    How to pass Cut paste command through CMD.exe

    Hello,

    I wanted to pass the copy paste command for copying folders from one place to another or any other copy pasting documents to other location, please provide me the CMD commands where I can do this, this would be much more helpful for me as I can save my maximum time while switching over to the other files.

    Thanks in Advance.

  2. #2
    Join Date
    Dec 2008
    Posts
    161

    Re: How to pass Cut paste command through CMD.exe

    Using cut-and-paste in the Command Prompt is easy. In a text-editing application like Notepad, select and copy the phrase as you would normally. Next, move your mouse to the Command Prompt screen. Right-click on the desired location in this screen and the copied text will appear.

    Naturally, you can also cut and paste in the Command Prompt screen itself. Select a phrase by moving the mouse over it while you hold down the left mouse button. Then right-click twice to paste the selection at the cursor's position.

  3. #3
    Join Date
    Jan 2006
    Posts
    211

    Re: How to pass Cut paste command through CMD.exe

    move your mouse over that word, then double-left click, followed by double-right click.
    That's it.

    The first double-click on the left mouse button will select the word at the mouse cursor position. Then, when we press the first right-click will do the "Copy" (since you do have some selected text). No need to do anything as earlier selected text becomes automatically deselected. Then, when we click the next right click will Paste the selected text from the clipboard at the current cursor. In the end, double-left click plus double-right click does the job.

  4. #4
    Join Date
    Jan 2009
    Posts
    140

    Re: How to pass Cut paste command through CMD.exe

    CMD.exe supports command line cut and paste.

    You are allow to copy, paste text between MS-DOS and Windows XP. In the CMD window, right-click anywhere on the title bar where you would see a menu, click Edit, and click Mark. You can select the text you want to copy and press ENTER where you want to paste it then just right click again. You will get the selected text pasted into your application.

    Using the above paste command in CMD, you can paste the Clipboard contents to the current command line. If you paste multiple lines of commands, they will all be executed in turn. Example:

    dir c:\boot.ini
    attrib -r -s -h c:\boot.ini
    dir c:\boot.ini
    attrib +r +s +h c:\boot.ini

    Copy the above to the clipboard, open a cmd prompt, right click the title bar, click Edit, click Paste. See how each command was executed:

Similar Threads

  1. Replies: 5
    Last Post: 26-04-2012, 04:16 AM
  2. How to perform Cut and paste from command line in Linux
    By Malik B in forum Operating Systems
    Replies: 4
    Last Post: 11-11-2010, 04:12 PM
  3. Replies: 9
    Last Post: 30-08-2010, 04:57 PM
  4. How to pass variables objShell.Run command
    By Elkanah in forum Software Development
    Replies: 4
    Last Post: 06-06-2009, 10:06 PM
  5. Replies: 4
    Last Post: 25-02-2009, 07:15 PM

Tags for this Thread

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
  •  
Page generated in 1,717,391,138.70465 seconds with 16 queries