Recently I need to do a couple of things programmatically for a build task and wanted catalog the command to make it easier for me and others to find them in the future.
Clear Internet Explorer Cache
C:\Windows\System32\rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Clear The Windows Clipboard
This one I came across when trying to figure out why cut/paste operations on my install of Windows 7 is so slow. Unfortunately this didn’t speed up the clipboard but I wanted to keep it around anyway. Comes in handy when I forget to clear a photo or large document from the clipboard. Here is the command.
cmd.exe /c “echo off | clip”
Do you have a command/snip-it that helps you get things done? Share them in the comments.