Follow the steps below to learn how to clear or delete all content stored in the Windows clipboard through the Windows command line.
- Open the Windows command line.
- 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.
Related information
- See our clipboard and command line definitions for further information and related links on these terms.