Saturday, August 16, 2014

Clearing Windows Clipboard

Found myself in a strange situation where new putty selections are not being copied to UltraEdit. I tried copying text from other applications, but it looks like it's not being copied to the clipboard because Ctrl-V always yields the same content.

Try this trick to manually clear the Windows clipboard. From the command prompt, type in 'echo off | clip' (without the single quotes). Or if you're lazy, Win + R, then 'cmd/c "echo off | clip"' (without the single quotes).

Try pasting in an empty Notepad to verify that the operation worked. In my case, I went back to UltraEdit, and the old clipboard contents is still there. So maybe UltraEdit is filling the clipboard from its cache. Switched to good ol' Notepad, and no more issues. (After clearing the clipboard again, of course.)

No comments:

Post a Comment