User Tools

Site Tools


wiki:windows:batch:copy_to_clipboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:windows:batch:copy_to_clipboard [2018/09/17 11:24]
matt
wiki:windows:batch:copy_to_clipboard [2021/04/17 19:32]
matt
Line 3: Line 3:
 ===== Batch File Code ===== ===== Batch File Code =====
 This works for a predefined, on line string. Like a not so important password or address that is used frequently. This works for a predefined, on line string. Like a not so important password or address that is used frequently.
-<code> + 
-echo|set/p=TextToBeCopied|clip +  echo|set/p=TextToBeCopied|clip 
-</code>+
  
 This one is for a formatted block of text stored in a separate text file. Handy for pre-formatted messages and documentation frameworks. This one is for a formatted block of text stored in a separate text file. Handy for pre-formatted messages and documentation frameworks.
-<code> + 
-type text.txt | clip +  type text.txt | clip 
-</code>+
  
  
wiki/windows/batch/copy_to_clipboard.txt · Last modified: 2021/04/17 19:32 by matt