# Windows – How to copy long text from PuTTY to text document in Windows

clipboardputtywindows

Following this question PuTTY how to select text and copy text using keyboard ONLY

I need to copy a very long text and paste it in another file (not in PuTTY)
I can only copy chunks… It doesn't let me to mark the whole file (or Ctrl+A equivalent). What can I do?

• Reset Terminal (or clear command or equivalent)
cat myfile

You will obviously still get at least the cat myfile command in the clipboard, but you can easily remove that after pasting.