Scott Hanselman

Today's Favorite Right-Clicks - ClipPath, RunAsLimitedUser, and Clean Sources

December 10, '04 Comments [7] Posted in ASP.NET | XML | Tools
Sponsored By

I loves me the right-click. I right-click in my sleep. Any utility that lets me right-click to do something that is a hassle, is my new best friend. Oh, and not crashing Explorer.exe is a requirement.

Here's my three favorites today (there are others for later):

  • RunAsLimitedUser - Jonas Blunck does it again. The only guy who writes more stuff is Jeff Key. Anyway, RunAsLimitedUser will launch an application using an account that has a limited set of permissions on my box. It's different than the shift-right-click RunAs...which lets you run as any user. If you're doing development in a restricted or very restricted environment, it's the tool. Slick.
  • ClipPath - Adds a context-menu to put the current path from Explorer in your clipboard. Even better, you can chosse from \'s or /'s, as well as Outlook friendly <file:///>. Why wasn't this in Windows already?
  • Clean Sources - "This Application does one thing. It adds an explorer shell menu to folders that when selected will recursively delete the contents of the bin, obj and setup folders. If you have a .NET project that you wish to share with some one, this is useful to remove the unnecessary stuff from the folder before you zip it up and send it off."

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Friday, 10 December 2004 01:19:26 UTC
Hmm. Clean Sources looks interesting. One thing on my "to-do" list is to figure out how to send a non-Vault user a project that I keep in Vault (, and then have it behave nicely when they open it in VS.Net instead of throwing off warning messages about not being able to find source control binding info etc.
Friday, 10 December 2004 03:59:51 UTC
I think you have to open the cproj and sln and remove anything that says "SCC*" this or that?
Friday, 10 December 2004 07:19:40 UTC
Looks like you're right. Maybe clean sources could build this in. Maybe it's already got it - haven't checked yet. From what I've read now it seems to be an oversight on MS's part that projects can be nicely unbound from source control.

Korby's blog also mentions this: It looks like he's one of the guys who works on this part of VS.

Also a discussion on one of Scot Watermask's previous posts:
Friday, 10 December 2004 15:42:59 UTC
great tools,thank you (Dror Engel)
Friday, 10 December 2004 15:58:51 UTC
As far as removing the files... why did VS decide that clean is only good for Visual C++ developers? I can't believe that they would not think that it is a good idea for everyone. I think that I will try and write an extension for VS that brings that functionality for everyone.....
Friday, 14 January 2005 14:06:33 UTC
Speaking of right-click explorer extensions, you should take a look at this sample:
Monday, 22 August 2005 02:22:02 UTC
I created "Clean Sources Plus", which adds..

- removes source code bindings
- removes the user prefs files (.suo, etc)

It's otherwise identical to Omar's code-- great concept!
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.