Click to See Complete Forum and Search --> : Win2K Command Prompt to a folder


Brian
08-15-2002, 05:18 PM
I want to be able to right click on any folder, and select a "Command Prompt" item from the context menu. That command prompt would be started with the folder as the default, thus saving me from having to manually navigate the tree.

I did this in Win9x by editing the Folder file type adding a New Action, with "Command Prompt" as the name and "command.com /k c:utilsDOSprmpt.bat" as the application.

I attempted to do the same on Windows 200o, using %SYSTEMROOT%cmd.exe or C:WINNTcmd.exe but I get the error "Cannot find the file 'd:path' (or one of its components)make sure the path and filename are correct and that all required libraries are available."

Suggestions?

Lori
08-19-2002, 11:22 AM
From Windows Explorer Go to Tools - Folder Options - File Types
Scroll down the list until you reach the items whose Extension is 'N/A'. One of these items is called 'Folder'. Click on the 'Folder' item, then click the Advanced button. Add New Action. Name it Command Prompt and set the application to cmd.exe

------------
Brian at 8/15/2002 6:18:28 PM

I want to be able to right click on any folder, and select a "Command Prompt" item from the context menu. That command prompt would be started with the folder as the default, thus saving me from having to manually navigate the tree.

I did this in Win9x by editing the Folder file type adding a New Action, with "Command Prompt" as the name and "command.com /k c:utilsDOSprmpt.bat" as the application.

I attempted to do the same on Windows 200o, using %SYSTEMROOT%cmd.exe or C:WINNTcmd.exe but I get the error "Cannot find the file 'd:path' (or one of its components)make sure the path and filename are correct and that all required libraries are available."

Suggestions?

J M
09-10-2002, 06:17 PM
Add this to your registry. Once done you can right click folder and it will take you to a DOS promt at that folder. You will also have that option in Explorer.

REGEDIT4

[HKEY_CLASSES_ROOTDirectoryshellDos Window]

[HKEY_CLASSES_ROOTDirectoryshellDos Windowcommand]
@=""cmd.exe" "%1""




------------
Lori at 8/19/2002 12:22:41 PM

From Windows Explorer Go to Tools - Folder Options - File Types
Scroll down the list until you reach the items whose Extension is 'N/A'. One of these items is called 'Folder'. Click on the 'Folder' item, then click the Advanced button. Add New Action. Name it Command Prompt and set the application to cmd.exe

------------
Brian at 8/15/2002 6:18:28 PM

I want to be able to right click on any folder, and select a "Command Prompt" item from the context menu. That command prompt would be started with the folder as the default, thus saving me from having to manually navigate the tree.

I did this in Win9x by editing the Folder file type adding a New Action, with "Command Prompt" as the name and "command.com /k c:utilsDOSprmpt.bat" as the application.

I attempted to do the same on Windows 200o, using %SYSTEMROOT%cmd.exe or C:WINNTcmd.exe but I get the error "Cannot find the file 'd:path' (or one of its components)make sure the path and filename are correct and that all required libraries are available."

Suggestions?