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
Next 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] (current)
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 
-</code> 
  
-This one is for a formatted block of text stored in a separate text file. +  echo|set/p=TextToBeCopied|clip 
-<code> + 
-type text.txt | 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. 
-Handy for pre-formatted messages and documentation frameworks.+ 
 +  type text.txt | clip 
 + 
  
wiki/windows/batch/copy_to_clipboard.1537197860.txt.gz · Last modified: 2018/09/17 11:24 by matt