Search found 1 match

by sneaky
12 Mar 2012 08:49
Forum: DOS Batch Forum
Topic: Batch code to paste from clipboard to a file?
Replies: 9
Views: 23599

Batch code to paste from clipboard to a file?

For a .bat file, how can I write whats currently copied from the clipboard to a new file. If the file exists, it will overwrite it, if it doesn't exist, then it will create the file. So if I were to copy a text, then run the .bat file, it will create the file, then write what you copied, to that fil...