If you are using a public PC or sharing your Windows user account with some friend or family member, you might be interested in making sure that your clipboard (data which you have cut or copied) is empty after you leave your PC. This will ensure that you do not leave any private information in the clipboard. In this article, we will see how to create a special shortcut in Windows 10 to clear your clipboard data. Additionally, you can assign a global hotkey to this operation.
Advertisеment
It is very easy to perform this operation without using any third party tool, as Windows 10 includes all the necessary tools out of the box.
- How to clear clipboard data in Windows 10
- Create a shortcut to clear clipboard data in Windows 10
- Add a global hotkey to clear clipboard data in Windows 10
How to clear clipboard data in Windows 10
It can be done with a single command.
- Press Win + R shortcut keys together on your keyboard to open the Run dialog. Tip: See the ultimate list of all Windows keyboard shortcuts with Win keys if you are interested).
- Type the following in the Run box:
cmd /c echo.|clip
- Press Enter on the keyboard to execute the command. Your clipboard data will be emptied.
Now, let's see how to create a shortcut to clear clipboard data in Windows 10.
Create a shortcut to clear clipboard data in Windows 10
- Right click the Desktop and select New - Shortcut.
- In the shortcut target box, type or copy-paste the following command:
cmd /c echo.|clip
- Specify the desired name your shortcut.
- Right click the shortcut you created and select Properties in the context menu.
- In Properties, set a nice icon for your shortcut. The suitable icon can be found in the C:\Windows\System32\imageres.dll file.
Watch the following video to see the shortcut in action:
Tip: You can subscribe to our YouTube channel.
Add a global hotkey to clear clipboard data in Windows 10
Windows 10 comes a nice feature - native global hotkeys for every installed application, yet it seems not many people are aware of it. A special text box in the shortcut properties allow you to to specify a combination of hotkeys which will be used to launch the shortcut. If you have set those hotkeys for the shortcut in the Start menu folder, then they will be available in every opened window, every application!
I covered this feature in the following article:
Assign global hotkeys to launch any app in Windows 10
To assign global hotkeys to the clear clipboard shortcut you created, do the following.
- Press Win + R shortcut keys together on your keyboard to open the Run dialog. Tip: See the ultimate list of all Windows keyboard shortcuts with Win keys).
- Type the following in the Run box:
shell:Start menu
The text above is a shell command. Read the following articles for details:
- The File Explorer window will appear with the Start menu folder location. Copy your shortcut there:
- Right click the shortcut and select Properties in the context menu.Bonus tip: Instead of right click, you can also double click on the shortcut while you hold down the Alt key. See How to open file or folder properties quickly in File Explorer.
- Set your desired hotkey in the Shortcut key textbox, and you will be able to launch the app quickly at any moment using the hotkeys you specified:
That's it.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisеment
With public computers it’s simpler to just write and copy some random characters in Notepad as it’s very likely that next time you’ll sit in front of another computer without this special shortcut. Although I can see this being beneficial if family shares one user account.