Window Explorer - Context Menu - Command Prompt
Results 1 to 4 of 4

Thread: Window Explorer - Context Menu - Command Prompt

  1. #1
    Join Date
    Nov 2001
    Location
    California, USA
    Posts
    2,020

    Window Explorer - Context Menu - Command Prompt

    I can add the following to the registry so that when I right-click on a directory, it would open a command prompt right at that folder level.

    So here is my question. What is it in Windows XP that allows this but not in Windows 7?


    I can put this into the registry:
    Code:
    cmd.exe /c cd %1
    and it works.

    In Windows 7, I have to put this into the registry:
    Code:
    cmd.exe /c pushD %L cd %1
    and it works. Otherwise, when opening a different drive, it would result back to "C:\Windows\System32"

    Why do I have to have PUSHD and it worked with out it in Windows XP?
    Originally wanted Millenium Falcon as nick but there is character limitation.
    Falcon Speed = Millenium Falcon = Light Speed

  2. #2
    Join Date
    Mar 2009
    Location
    Arkham Asylum, Cell 13
    Posts
    11,810
    It could be related to UAC or the restricted command prompt.

    http://www.mydigitallife.info/2007/0...windows-vista/

  3. #3
    Join Date
    Jun 2001
    Location
    Albuquerque, NM USA
    Posts
    14,686
    Falcon Speed--The Win7 Registry is quite different from the Vista and WinXp Registries.
    But more on PushD
    http://technet.microsoft.com/en-us/l.../bb490978.aspx
    http://www.computerhope.com/pushd.htm
    Last edited by Welshjim; September 20th, 2010 at 07:55 PM.
    Jim
    WIN7 Ultimate SP1 64bit, IE 11, NTFS,
    cable, MS Security Essentials, Windows 7 firewall

  4. #4
    Join Date
    Nov 2001
    Location
    California, USA
    Posts
    2,020
    Quote Originally Posted by Midknyte View Post
    It could be related to UAC or the restricted command prompt.

    http://www.mydigitallife.info/2007/0...windows-vista/
    I don't think it is UAC because I turn it off already. OH CRAP! Did I just said that? hahahaha!


    Thanks Welshjim.
    Originally wanted Millenium Falcon as nick but there is character limitation.
    Falcon Speed = Millenium Falcon = Light Speed

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •