Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Win XP in my company. I encountered a wonder thing:

  1. I open an explorer.exe window.
  2. Just enter a directory (for example, C:\Windows).
  3. Run cmd.exe (Win+R, then issue cmd.exe)

The init path will change to the current path in explorer (C:\Windows) automatically!

It's a good feature, I want use it in my home as well. However, I don't know how to configure this. I checked the registry configuration information, and it same with my PC. I also do many searches by Google, but most of result are talking about add "Open commmand prompt here" to pop menu of folder.

If you know anything about this, please kindly share me. Thanks!

PS: if I didn't open any explore.exe window, then run cmd.exe, the path would be the "Desktop".

share|improve this question
    
When I run cmd.exe the directory is set to my current user directory (C:\Documents and Settings\User) - presumably this is currently the same for you on your home machine? –  w3d Oct 21 '11 at 16:24

2 Answers 2

I never seen something like that. That would be so cool.

Otherways you could just add a "Open commmand prompt here" shortcut on the right click menu http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm

share|improve this answer
    
Actually, I know the tip for "Open command prompt here". Anyway, thanks for your advise! –  redraiment Oct 21 '11 at 15:48

If you're using Vista/7 then try Shift + Right Click on the folder and Open Command Window Here

share|improve this answer
    
Thanks for your reply! ^_^ –  redraiment Oct 21 '11 at 15:48
    
Oh, I didn't know that! Faster! –  Magnetic_dud Oct 21 '11 at 22:11
    
No problem!! :D –  Sandeep Bansal Oct 21 '11 at 22:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.