I work with Windows a lot. Almost every day of my life since Windows 3.1, I've been submersed in Windows for both work and play. Getting to know it inside and out. Learning new Windows applications. Being excited for new releases of Windows because I know it'll bring big changes to the operating system which will make me have to learn new things. Every now and then, I even start to think I'm pretty knowledgable about Windows...
Which is why I'm always flabbergasted when someone non-chalantly shows me a relatively mundane Windows trick I never knew about, yet it's been under my nose the whole time! And so, I bring you two Windows tricks that I learned about today. If you already knew about them, you can just think of me as an amateur and move on. But if you didn't already know about them, they might just change the way you do your daily work!
C:\> SomeCommand | clip
I never knew about this! On the command line, you can pipe the output of any program or command to your Windows clipboard and Ctrl+V it anywhere!
You can also do something like
C:\> clip < textFile.txt to quickly copy the contents of the file to your clipboard.
Alright, trick #2:
Shift + Right-Click to Run as Different User
This one was down-right embarrassing for me to have not known. Maybe I did know it at one time, but then I used it so infrequently that I forgot about it... I don't know. Back in the XP/2003 days, you could right-click on an application and choose "Run as..." which would prompt you for the credentials of another user under which to to run that process. But then in Vista onwards it disappeared. Sure, there's still "Run as administrator," but sometimes you need to run a process as someone else besides Administrator. Well, I always just got around it by launching a command prompt and doing something like runas /user:BobMarley@domain.com notepad.exe.
But I completely forgot that it's still there in the GUI. All you have to do is Shift+Right-click: