Results 1 to 3 of 3

Thread: Win Command prompt copy to Clipboard...Possible?

  1. #1
    Flower Child stytagm's Avatar
    Join Date
    Aug 2004
    Location
    London
    Posts
    754
    Thanks
    47
    Thanked
    23 times in 18 posts

    Win Command prompt copy to Clipboard...Possible?

    Hi Guys,

    What I want to know is: Is it possible to copy a file to the clipboard (to be pasted later on) using a command prompt, or even better, the run command from the start menu.

    Reasoning: I'm, using remote desktop to administer web-servers and frequently have to upload one or two files at a time. Terminal services makes your local machine's disk's available as networked drives, but it's Sloooooooow. So rather than having to browse to the file I want to copy, right-click->copy etc, I want to type something similar to:
    Code:
    copy \\tsclient\c\pathname\filename clipboard
    then just browse to my target location, right click and paste.

    Any ideas? I've googled a bit, and experimented a bit, but can't find what I want. Cheers guys.

    PS you can type the above in a CMD prompt, but it merely copy's the target to your current directory, and renames it to "clipboard"
    They told me I was gullible ... and I believed them.

  2. #2
    Theoretical Element Spud1's Avatar
    Join Date
    Jul 2003
    Location
    North West
    Posts
    7,011
    Thanks
    257
    Thanked
    255 times in 200 posts
    • Spud1's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2x 2.8ghz Quad Core Xeons (octo-core)
      • Memory:
      • 4gb DDR2 FB-Dimm
      • Storage:
      • 1x1TB, 1x320gb, 2x500gb, 1x250gb, 120GB SSD
      • Graphics card(s):
      • Nvidia Geforce 560Ti
      • PSU:
      • Mac pro PSU
      • Case:
      • Mac Pro Case
      • Operating System:
      • Windows 8
      • Monitor(s):
      • 1x22" LG 3D TFT 1x 19" ViewSonic
      • Internet:
      • 80mb BT Infinity
    why not just use copy as copy directly, rather than mesing about with the clipboard

    eg

    Code:
    copy \\tsclient\c\path\file.zip c:\test\
    or
    Code:
    copy \\tsclient\c\path\file.zip \\tsserver\c\target\
    that should do what your asking i think..

  3. #3
    Flower Child stytagm's Avatar
    Join Date
    Aug 2004
    Location
    London
    Posts
    754
    Thanks
    47
    Thanked
    23 times in 18 posts
    Hi Spud,

    Sorry, I had thought of that, but the target directories are at a depth of about 8-10 directories which is quite a bit of typing, even with auto completion.

    I find it relatively easy to double click my way there, but I'd probably get the path wrong if I had to type it all out.

    Thanks, Andrew.
    They told me I was gullible ... and I believed them.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Making win xp SP2 bootable
    By darrensen in forum Software
    Replies: 3
    Last Post: 16-05-2005, 03:47 PM
  2. Replies: 6
    Last Post: 28-01-2005, 11:50 AM
  3. Best Win logo manager
    By Volken in forum Software
    Replies: 2
    Last Post: 04-06-2004, 04:57 PM
  4. Who will win F1 this year...?
    By TomWilko in forum Automotive
    Replies: 17
    Last Post: 31-10-2003, 11:00 AM
  5. Replies: 10
    Last Post: 24-09-2003, 02:47 PM

Posting Permissions

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