Delete clipboard via command line

Clear the clipboard in Windows 7, 8 and 10 quickly using the command line

You can copy, paste, and cut content into and out of the Windows clipboard, but do you know any way to delete it?Obviously yes.

Xóa clipboard thông qua dòng lệnh

Clear anything in Windows to clipboard using below command in Windows command line.

When needed, just run the following command in the Command Prompt window or from the Run window by pressing the Win + R key combination :

From the Windows command line type the command below.

cmd / c “echo off | clip”

To make it even more efficient, you can create a shortcut where the item is located and save it in a place that you can easily access, such as a desktop.

After the above command has been entered, all of the content in the Windows clipboard will be removed.