-2
\$\begingroup\$

This question already has an answer here:

Make a program (or a function) that copies the exact text "Hello, World!" to the clipboard, and terminates.

\$\endgroup\$

marked as duplicate by Pavel, DJMcMayhem code-golf May 4 '17 at 17:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ It is not a duplicate. Copying to the clipboard != Delete clipboard contents ! @Phoenix, @ DJMcMayhem \$\endgroup\$ – sergiol May 4 '17 at 23:57
0
\$\begingroup\$

JavaScript (ES6), 19 bytes

Run in your browser's console.

copy`Hello, World!`
\$\endgroup\$
0
\$\begingroup\$

Mathematica, 31 bytes

CopyToClipboard@"Hello, World!"
\$\endgroup\$
0
\$\begingroup\$

Notepad++, 15 keystrokes

Hello, World!<C-a><C-c>
\$\endgroup\$
0
\$\begingroup\$

Windows command shell, 23 characters

echo Hello, World!|clip
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.