Discussion:
"Command Window Here" question
(too old to reply)
Richard Ahlvin
2005-11-02 21:06:04 UTC
Permalink
I just downloaded and installed the "Command Window Here" utility for
Explorer from Microsoft onto my Windows XP machine.
2 Questions:
1) Where/how do I make this run AUTOEXEC.BAT? Can I edit the command that
starts the shell? Is it a registry entry or in a file somewhere?
2) I also get "DosHere" in the same menu as the "Open Commmand Window Here",
but it does not work. How do I eliminate the "DosHere" from the explorer
menu?

Richard
Wesley Vogel
2005-11-02 22:27:55 UTC
Permalink
You got a hold of an old version.

[[The DOS Prompt Here PowerToy from the original Win95 set doesn’t work in
Win XP.]]

Try this one, it's for XP...

Open Command Window Here
http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe

Microsoft PowerToys for Windows XP
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User
Post by Richard Ahlvin
I just downloaded and installed the "Command Window Here" utility for
Explorer from Microsoft onto my Windows XP machine.
1) Where/how do I make this run AUTOEXEC.BAT? Can I edit the command that
starts the shell? Is it a registry entry or in a file somewhere?
2) I also get "DosHere" in the same menu as the "Open Commmand Window
Here", but it does not work. How do I eliminate the "DosHere" from the
explorer menu?
Richard
Richard Ahlvin
2005-11-03 15:47:20 UTC
Permalink
I re-downloaded and re-installed but it evidently is the same as I already
had.
My question was: where is the shell command so I can edit it such that a
startup batch file (e.g. autoexec.bat) can be run when the "Open Command
Window Here" on the explorer menu (right click) is selected.
Also how do I get rid of the "DosHere" menu choice, since it does not work.
Post by Wesley Vogel
You got a hold of an old version.
[[The DOS Prompt Here PowerToy from the original Win95 set doesn’t work in
Win XP.]]
Try this one, it's for XP...
Open Command Window Here
http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe
Post by Wesley Vogel
Microsoft PowerToys for Windows XP
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
Post by Richard Ahlvin
I just downloaded and installed the "Command Window Here" utility for
Explorer from Microsoft onto my Windows XP machine.
1) Where/how do I make this run AUTOEXEC.BAT? Can I edit the command that
starts the shell? Is it a registry entry or in a file somewhere?
2) I also get "DosHere" in the same menu as the "Open Commmand Window
Here", but it does not work. How do I eliminate the "DosHere" from the
explorer menu?
Richard
Wesley Vogel
2005-11-03 17:51:17 UTC
Permalink
Richard,

autoexec.bat has nothing to do with it.

Uninstall Command Window Here and get this..

26. Add Command Line to the Right Click
http://www.kellys-korner-xp.com/xp_tweaks.htm

It adds two registry entries...

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here]
@="Command &Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1 "
-----

The only lines in autoexec.bat that Windows XP will read are the lines that
begin with SET or PATH. *If* ParseAutoexec is set to 1. Otherwise XP
ignores autoexec.bat completely.

When this value is enabled the variables listed in the Autoexec.bat file
will be parsed and included in the current user environment.

HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon
Value Name: ParseAutoexec
Data Type: REG_SZ
Data: 0 or 1
0 : Ignores Autoexec.bat at logon.
1 : Parses Autoexec.bat at logon.

This has no effect on the parsing of AUTOEXEC.NT or CONFIG.NT by the MS-DOS
or 16-bit Windows environments (VDMs).

From...
INFO: Configuring Parsing of the AUTOEXEC.BAT File
http://support.microsoft.com/kb/124551/EN-US/
--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User
Post by Richard Ahlvin
I re-downloaded and re-installed but it evidently is the same as I
already had.
My question was: where is the shell command so I can edit it such that a
startup batch file (e.g. autoexec.bat) can be run when the "Open Command
Window Here" on the explorer menu (right click) is selected.
Also how do I get rid of the "DosHere" menu choice, since it does not work.
Post by Wesley Vogel
You got a hold of an old version.
[[The DOS Prompt Here PowerToy from the original Win95 set doesn’t work
in Win XP.]]
Try this one, it's for XP...
Open Command Window Here
http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe
Post by Richard Ahlvin
Post by Wesley Vogel
Microsoft PowerToys for Windows XP
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
Post by Richard Ahlvin
I just downloaded and installed the "Command Window Here" utility for
Explorer from Microsoft onto my Windows XP machine.
1) Where/how do I make this run AUTOEXEC.BAT? Can I edit the command
that starts the shell? Is it a registry entry or in a file somewhere?
2) I also get "DosHere" in the same menu as the "Open Commmand Window
Here", but it does not work. How do I eliminate the "DosHere" from the
explorer menu?
Richard
Loading...