Clear the clipboard through the command line
2. From the Windows command line, type the command below.
echo off | clip
After the command above is entered, all contents in the Windows clipboard will be removed.
See the clip command for further information and other examples that can be used with this command.