Join 100,000 Subscribers:

 

Create a Shortcut or Hotkey to Clear the Clipboard in Windows

Have you ever copied something to the clipboard that you don’t want to leave there in case somebody else is going to use your computer? Sure, you can copy something else to the clipboard real quick, but can’t you just make a shortcut or hotkey to clear it?

And of course you can, with the built-in clip.exe utility in Windows 7 or Vista. It’s not really meant for clearing the clipboard, but with a little command line magic in a shortcut, we can make it do just that.

Note: This is also useful if you copied a very large amount of data to the clipboard and you don’t want it wasting memory anymore.

Create a Shortcut Icon to Clear the Clipboard

Right-click on the desktop or elsewhere, and choose New \ Shortcut from the menu.

image 

Then in the shortcut location box, enter the following command:

cmd /c “echo off | clip”

image

At this point you’ll have an icon that will immediately clear the clipboard… but we can tweak it a bit further.

image

Right-click on the icon and choose Properties, and then change the Run drop-down to “Minimized” to make sure you don’t see the command prompt. You can also assign a shortcut key here.

image

If you click the Change Icon button and then browse down to this file, you can find a clipboard icon:

%SystemRoot%\system32\shell32.dll

image

Now we’ve got a nice-looking icon that will clear out the clipboard:

 image

Note: If you are using Windows XP, you can download clip.exe from Microsoft. Just save the file in the Windows directory and the rest of the hack should work for you.

| More
This article was originally written on 06/11/08 Tagged with: Shortcuts and Hotkeys, Vista, Vista Tips & Tweaks, Windows 7, Windows 7 Tips

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (3)

  1. Scott

    How do I do this?

    Note: If you are using Windows XP, you can download clip.exe from Microsoft. Just save the file in the Windows directory and the rest of the hack should work for you.

  2. kelly

    I followed the instructions but it didn’t work. Then I changed the location to “C:\WINDOWS\clip.exe” and it worked. Is there any particular reason to use “cmd /c “echo off | clip”” instead of just entering the location of the clip.exe file?

    Also, when changing the icon I couldn’t find any clipboard icon (I’m using XP) but I was able to download one and use that.

    Thank you

  3. Val Lavrik

    Working version for Windows 7: cmd.exe /c echo off | clip

    For Windows XP, download and install CLIP.EXE from Microsoft.

    ftp://ftp.microsoft.com/Servic.....E/CLIP.EXE


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
mDNSResponder.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2010 HowToGeek.com. All Rights Reserved.