Help with .bat file code?


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 file.


BAT files cannot access the clipboard.

This article has been dead for over six months: Start a new discussion instead
Start New Discussion
Tags Related to this Article