Sign in with
Sign up | Sign in
Your question

Folders Opening in a Command Prompt Window

Last response: in Windows XP
Share
June 22, 2005 8:20:26 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

My XP Pro SP2 PC is now doing something rather strange.
Instead of open a folder in Windows Explorer, it opens
a command prompt window, to the path of the folder, when the folder
icon is clicked.

This only happens if I click on a folder in the right pane
of Windows Explorer. Clicking on a folder in the left pane
opens the folder in the right pane, as it should.
I have the same problem with any shortcuts to folders on
my Desktop. Instead of opening the folder, it opens
a commnad prompt with the path to the folder.

I know this has something to do with the File Types tab.
If you click Tools, Folder Options, in Windows Explorer. However, when
I go into the Advanced properties of "File Folder", I can
only Add, I can't Edit or Remove. And yes, I am logged on as a member of
the Admins group.

How do I fix this? Can it be done through the registry?
Anonymous
June 22, 2005 8:30:52 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Fixes the problem where Search or Command Prompt opens
when double clicking a folder © Doug Knox
http://www.dougknox.com/xp/scripts_desc/xp_folder_open....

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:o QyCaf2dFHA.4040@TK2MSFTNGP14.phx.gbl,
RJ <jackbobNOSPAM@hotmail.com> hunted and pecked:
> My XP Pro SP2 PC is now doing something rather strange.
> Instead of open a folder in Windows Explorer, it opens
> a command prompt window, to the path of the folder, when the folder
> icon is clicked.
>
> This only happens if I click on a folder in the right pane
> of Windows Explorer. Clicking on a folder in the left pane
> opens the folder in the right pane, as it should.
> I have the same problem with any shortcuts to folders on
> my Desktop. Instead of opening the folder, it opens
> a commnad prompt with the path to the folder.
>
> I know this has something to do with the File Types tab.
> If you click Tools, Folder Options, in Windows Explorer. However, when
> I go into the Advanced properties of "File Folder", I can
> only Add, I can't Edit or Remove. And yes, I am logged on as a member of
> the Admins group.
>
> How do I fix this? Can it be done through the registry?
Anonymous
June 22, 2005 10:58:07 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Hi RJ,

You might want to re-register the shell32.dll file. This can be done by typing the following at
Start/Run and pressing enter:

regsvr32 /i shell32.dll

Hope this helps.

--

Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

In memory of Alex Nichol
http://www.microsoft.com/windowsxp/expertzone/meetexper...

Folder customizations
http://newdelhi.sancharnet.in/minku

Protect your PC!
http://www.microsoft.com/protect


"RJ" <jackbobNOSPAM@hotmail.com> wrote in message news:o QyCaf2dFHA.4040@TK2MSFTNGP14.phx.gbl...
> My XP Pro SP2 PC is now doing something rather strange.
> Instead of open a folder in Windows Explorer, it opens
> a command prompt window, to the path of the folder, when the folder
> icon is clicked.
>
> This only happens if I click on a folder in the right pane
> of Windows Explorer. Clicking on a folder in the left pane
> opens the folder in the right pane, as it should.
> I have the same problem with any shortcuts to folders on
> my Desktop. Instead of opening the folder, it opens
> a commnad prompt with the path to the folder.
>
> I know this has something to do with the File Types tab.
> If you click Tools, Folder Options, in Windows Explorer. However, when
> I go into the Advanced properties of "File Folder", I can
> only Add, I can't Edit or Remove. And yes, I am logged on as a member of
> the Admins group.
>
> How do I fix this? Can it be done through the registry?
>
Related resources
June 23, 2005 3:12:45 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Thanks very much! That fixed it.


"Wesley Vogel" <123WVogel955@comcast.net> wrote in message
news:o Lo6sn3dFHA.3616@TK2MSFTNGP09.phx.gbl...
> Fixes the problem where Search or Command Prompt opens
> when double clicking a folder © Doug Knox
> http://www.dougknox.com/xp/scripts_desc/xp_folder_open....
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:o QyCaf2dFHA.4040@TK2MSFTNGP14.phx.gbl,
> RJ <jackbobNOSPAM@hotmail.com> hunted and pecked:
>> My XP Pro SP2 PC is now doing something rather strange.
>> Instead of open a folder in Windows Explorer, it opens
>> a command prompt window, to the path of the folder, when the folder
>> icon is clicked.
>>
>> This only happens if I click on a folder in the right pane
>> of Windows Explorer. Clicking on a folder in the left pane
>> opens the folder in the right pane, as it should.
>> I have the same problem with any shortcuts to folders on
>> my Desktop. Instead of opening the folder, it opens
>> a commnad prompt with the path to the folder.
>>
>> I know this has something to do with the File Types tab.
>> If you click Tools, Folder Options, in Windows Explorer. However, when
>> I go into the Advanced properties of "File Folder", I can
>> only Add, I can't Edit or Remove. And yes, I am logged on as a member of
>> the Admins group.
>>
>> How do I fix this? Can it be done through the registry?
>
Anonymous
June 23, 2005 3:12:46 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Glad to hear it. Keep having fun. :-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:o R23zF6dFHA.1504@TK2MSFTNGP15.phx.gbl,
RJ <jackbobNOSPAM@hotmail.com> hunted and pecked:
> Thanks very much! That fixed it.
>
>
> "Wesley Vogel" <123WVogel955@comcast.net> wrote in message
> news:o Lo6sn3dFHA.3616@TK2MSFTNGP09.phx.gbl...
>> Fixes the problem where Search or Command Prompt opens
>> when double clicking a folder © Doug Knox
>> http://www.dougknox.com/xp/scripts_desc/xp_folder_open....
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:o QyCaf2dFHA.4040@TK2MSFTNGP14.phx.gbl,
>> RJ <jackbobNOSPAM@hotmail.com> hunted and pecked:
>>> My XP Pro SP2 PC is now doing something rather strange.
>>> Instead of open a folder in Windows Explorer, it opens
>>> a command prompt window, to the path of the folder, when the folder
>>> icon is clicked.
>>>
>>> This only happens if I click on a folder in the right pane
>>> of Windows Explorer. Clicking on a folder in the left pane
>>> opens the folder in the right pane, as it should.
>>> I have the same problem with any shortcuts to folders on
>>> my Desktop. Instead of opening the folder, it opens
>>> a commnad prompt with the path to the folder.
>>>
>>> I know this has something to do with the File Types tab.
>>> If you click Tools, Folder Options, in Windows Explorer. However, when
>>> I go into the Advanced properties of "File Folder", I can
>>> only Add, I can't Edit or Remove. And yes, I am logged on as a member
>>> of the Admins group.
>>>
>>> How do I fix this? Can it be done through the registry?
June 23, 2005 3:18:13 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Thanks. I downloaded the Doug Knox vbscript (next post), and
it basically re-registered shell32.dll.

Thanks for the tip.


"Anando [MS-MVP]" <anando@mvps.org> wrote in message news:e2dU4V3dFHA.3620@TK2MSFTNGP09.phx.gbl...
> Hi RJ,
>
> You might want to re-register the shell32.dll file. This can be done by typing the following at
> Start/Run and pressing enter:
>
> regsvr32 /i shell32.dll
>
> Hope this helps.
>
> --
>
> Anando
> Microsoft MVP- Windows Shell/User
> http://www.microsoft.com/mvp
> http://www.mvps.org
>
> In memory of Alex Nichol
> http://www.microsoft.com/windowsxp/expertzone/meetexper...
>
> Folder customizations
> http://newdelhi.sancharnet.in/minku
>
> Protect your PC!
> http://www.microsoft.com/protect
>
>
> "RJ" <jackbobNOSPAM@hotmail.com> wrote in message news:o QyCaf2dFHA.4040@TK2MSFTNGP14.phx.gbl...
>> My XP Pro SP2 PC is now doing something rather strange.
>> Instead of open a folder in Windows Explorer, it opens
>> a command prompt window, to the path of the folder, when the folder
>> icon is clicked.
>>
>> This only happens if I click on a folder in the right pane
>> of Windows Explorer. Clicking on a folder in the left pane
>> opens the folder in the right pane, as it should.
>> I have the same problem with any shortcuts to folders on
>> my Desktop. Instead of opening the folder, it opens
>> a commnad prompt with the path to the folder.
>>
>> I know this has something to do with the File Types tab.
>> If you click Tools, Folder Options, in Windows Explorer. However, when
>> I go into the Advanced properties of "File Folder", I can
>> only Add, I can't Edit or Remove. And yes, I am logged on as a member of
>> the Admins group.
>>
>> How do I fix this? Can it be done through the registry?
>>
>
>
Anonymous
June 23, 2005 3:05:57 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

This problem occurs when you alter the "Drive" / "File Folders" entries via
File Types dialog, to add a "Command Prompt here" or "Print Directory"
feature for folders. (example)

http://support.microsoft.com/?kbid=321379
http://support.microsoft.com/?kbid=321186

Resolution:

Click Start/Run and type this command to fix this problem:
(Tip from David Candy)

regsvr32 /i shell32.dll

-or-

To fix this manually via registry:

If this problem is seen for Drives:

HKEY_CLASSES_ROOT\Drive\shell
Set (default) to "none" (without ")

If this problem is seen for folders:

[HKEY_CLASSES_ROOT\Directory\shell]
Set (default) to "none" (without ")

--
Ramesh, MS-MVP
Windows Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com
http://windowsxp.mvps.org

Windows XP Newsgroup Setup Instructions for Outlook Express:
http://www.microsoft.com/windowsxp/expertzone/newsgroup...


"RJ" <jackbobNOSPAM@hotmail.com> wrote in message
news:o QyCaf2dFHA.4040@TK2MSFTNGP14.phx.gbl...
> My XP Pro SP2 PC is now doing something rather strange.
> Instead of open a folder in Windows Explorer, it opens
> a command prompt window, to the path of the folder, when the folder
> icon is clicked.
>
> This only happens if I click on a folder in the right pane
> of Windows Explorer. Clicking on a folder in the left pane
> opens the folder in the right pane, as it should.
> I have the same problem with any shortcuts to folders on
> my Desktop. Instead of opening the folder, it opens
> a commnad prompt with the path to the folder.
>
> I know this has something to do with the File Types tab.
> If you click Tools, Folder Options, in Windows Explorer. However, when
> I go into the Advanced properties of "File Folder", I can
> only Add, I can't Edit or Remove. And yes, I am logged on as a member of
> the Admins group.
>
> How do I fix this? Can it be done through the registry?
>
June 23, 2005 5:50:53 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Thanks for more good info!


"Ramesh, MS-MVP" <ramesh@online.mvps.org> wrote in message
news:%23eEDsV7dFHA.1600@tk2msftngp13.phx.gbl...
> This problem occurs when you alter the "Drive" / "File Folders" entries via File Types dialog, to
> add a "Command Prompt here" or "Print Directory" feature for folders. (example)
>
> http://support.microsoft.com/?kbid=321379
> http://support.microsoft.com/?kbid=321186
>
> Resolution:
>
> Click Start/Run and type this command to fix this problem:
> (Tip from David Candy)
>
> regsvr32 /i shell32.dll
>
> -or-
>
> To fix this manually via registry:
>
> If this problem is seen for Drives:
>
> HKEY_CLASSES_ROOT\Drive\shell
> Set (default) to "none" (without ")
>
> If this problem is seen for folders:
>
> [HKEY_CLASSES_ROOT\Directory\shell]
> Set (default) to "none" (without ")
>
> --
> Ramesh, MS-MVP
> Windows Shell/User
>
> Windows XP Troubleshooting
> http://www.winhelponline.com
> http://windowsxp.mvps.org
>
> Windows XP Newsgroup Setup Instructions for Outlook Express:
> http://www.microsoft.com/windowsxp/expertzone/newsgroup...
>
>
> "RJ" <jackbobNOSPAM@hotmail.com> wrote in message news:o QyCaf2dFHA.4040@TK2MSFTNGP14.phx.gbl...
>> My XP Pro SP2 PC is now doing something rather strange.
>> Instead of open a folder in Windows Explorer, it opens
>> a command prompt window, to the path of the folder, when the folder
>> icon is clicked.
>>
>> This only happens if I click on a folder in the right pane
>> of Windows Explorer. Clicking on a folder in the left pane
>> opens the folder in the right pane, as it should.
>> I have the same problem with any shortcuts to folders on
>> my Desktop. Instead of opening the folder, it opens
>> a commnad prompt with the path to the folder.
>>
>> I know this has something to do with the File Types tab.
>> If you click Tools, Folder Options, in Windows Explorer. However, when
>> I go into the Advanced properties of "File Folder", I can
>> only Add, I can't Edit or Remove. And yes, I am logged on as a member of
>> the Admins group.
>>
>> How do I fix this? Can it be done through the registry?
>>
>
Anonymous
June 24, 2005 2:19:07 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

You're welcome RJ.

--
Ramesh, MS-MVP
Windows Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com
http://windowsxp.mvps.org

Windows XP Newsgroup Setup Instructions for Outlook Express:
http://www.microsoft.com/windowsxp/expertzone/newsgroup...


"RJ" <jackbobNOSPAM@hotmail.com> wrote in message
news:eu2SSwBeFHA.1044@TK2MSFTNGP10.phx.gbl...
> Thanks for more good info!
>
>
> "Ramesh, MS-MVP" <ramesh@online.mvps.org> wrote in message
> news:%23eEDsV7dFHA.1600@tk2msftngp13.phx.gbl...
>> This problem occurs when you alter the "Drive" / "File Folders" entries
>> via File Types dialog, to add a "Command Prompt here" or "Print
>> Directory" feature for folders. (example)
>>
>> http://support.microsoft.com/?kbid=321379
>> http://support.microsoft.com/?kbid=321186
>>
>> Resolution:
>>
>> Click Start/Run and type this command to fix this problem:
>> (Tip from David Candy)
>>
>> regsvr32 /i shell32.dll
>>
>> -or-
>>
>> To fix this manually via registry:
>>
>> If this problem is seen for Drives:
>>
>> HKEY_CLASSES_ROOT\Drive\shell
>> Set (default) to "none" (without ")
>>
>> If this problem is seen for folders:
>>
>> [HKEY_CLASSES_ROOT\Directory\shell]
>> Set (default) to "none" (without ")
>>
>> --
>> Ramesh, MS-MVP
>> Windows Shell/User
>>
!