![]() |
![]() |
|
March 16, 2004Neat Windows Shell Trick to Launch CMD WindowToday I learned a neat little shell trick thanks to my buddy Gareth. Have you ever been browsing in Explorer and want to drop down to a CMD window at that point? Not easy. You can open a cmd window, drag the path in Explorer to the cmd window as a drop target and then go from there. But he showed me a neat hack to the registry to make it a right click menu option! Steps to add this:
Now if you right click on a folder, you will have an 'Open CMD here' option which opens the cmd prompt right at that location! Easy hack... really nice result. Posted by SilverStr at March 16, 2004 10:03 AM | TrackBackComments
Cool... I'm pretty sure there's an ms-powertool that does something similar, an 'open command here' or something. Didn't know how it was done though. Thanks! Posted by: Arcterex at March 16, 2004 11:28 AMThis trick is covered in O'Reilly's "Windows XP Hacks" under Hack #29 "Context Menu". You can see it (as well as a few other hacks) online from the good folks at ORA. Arcterex, the _PowerToy_ you're thinking of is called "Open Command Window Here". It can be had from the PowerToys page at: http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp --Ian, who was looking this up a few weeks ago Posted by: Felspar at March 16, 2004 03:45 PMYeah, I remember using the 'Command prompt here' thing in PowerToys from the Windows 95 days... Posted by: Wim at March 17, 2004 05:12 PMhere is a little customization for you who prefer bash rather them lame cmd. As bash on win systems I use minimal gnu msys & rxvt from mingw distro - but you can probably use this little tip with something else as well. Do same first 3 steps as above (call new key as u like); 4) change text to something miningfull (like 'bash here' for ex) Observe: you don't need to pass any commands to rxvt as above. System will automaticly open bash in a rxvt window in the directory you right-click on. To obtain "minimal gnu system" go to mingw homepage: http://www.mingw.org/download.shtml . |
![]() ![]()
My 5 Favorite Books
Writing Secure Code
Secure Programming Cookbook Security Engineering Secure Coding Principles & Practice Inside the Security Mind ![]()
My 5 Favorite Papers
Smashing the Stack
Penetration Studies Covert Channel Analysis of Trusted Systems DoD Trusted Computer System Evaluation Criteria NSA Security Recommendation Guides ![]()
Archives
December 2005
November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003 November 2003 October 2003 September 2003 August 2003 July 2003 June 2003 May 2003 April 2003 March 2003 February 2003 January 2003 December 2002 November 2002 October 2002 September 2002 August 2002 July 2002 ![]() |
|