Shandy's Blog

Where Andrew Sutton, aka Shandy rants and rambles on as the fancy takes him

This blog hosted by:
http://blogs.vbcity.com      
  Home :: Syndication  :: Login

My name is Andrew Sutton, aka Shandy.

I am currently living and working in the UK within the garment industry as an IT specialist. This blog contains mainly IT related issues.

I was a Microsoft VB MVP for a couple of years (Apr 2004-Mar 2006) and was a vbCityLeader between April 2003 and June 2007.

If you are looking for my Sri Lanka or Morocco experiences check out Shandy's Sri Lanka Blog or Shandy's Morocco Blog. My personal (Non IT) blog is now at Shandy's Place

OctNovember 2008Dec
SMTWTFS
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

Articles

Archives

Topics

Image Galleries

.NET

Blogs I Read

Others

VB.Classic

Ever wanted to be able to open a command prompt from windows explorer where the current command prompt folder is the current windows explorer folder? Well here's how to do it: (Tested under XP Pro)

  1. Open the windows registry editor (Start, Run, RegEdit)
  2. Select the node HKEY_CLASSES_ROOT\Folder\shell.
  3. Create a new key, DOS Prompt. (Right click, New, Key, type Command Prompt).
  4. Select the key HKEY_CLASSES_ROOT\Folder\shell\Command Prompt.
  5. Create a new key, Command. (Right click, New, Key, type Command)
  6. Edit the string Default. (Right click, Modify, type c:\windows\system32\cmd.exe %1)

If you now go to the windows explorer and browse to a folder and right click you will see an option Command Prompt. Selecting that option will open up a command prompt window with the default folder as the one selected in windows explorer.

Note that editing the registry can seriously damage your health! Always back up your registry before editing.

 

posted on Saturday, June 18, 2005 10:21 AM