Console automation

  • Thread starter Thread starter Coder
  • Start date Start date
C

Coder

Hi

How do we create a registry key so that while browsing folders in the
Explorer, we right-click a folder/directory, select a context menu item,
and open a console window (DOS prompt) that has navigated to that folder
(i.e. executed a "cd /d <path-to-folder>" command)?

Thanks

--
 
[Coder]s message :
Hi

How do we create a registry key so that while browsing folders in the
Explorer, we right-click a folder/directory, select a context menu item,
and open a console window (DOS prompt) that has navigated to that folder
(i.e. executed a "cd /d <path-to-folder>" command)?


- Open Control Panel > Folder Options > File Types tab
- Highlight "Folder" ( Not File Folder)
- Click Advanced button then New
- Enter a name in "Action"
- Copy/Paste the following in "Application used ..." :
cmd.exe /k cd /d "%1"
- Click OK > OK




Good Luck, Ayush.
 
Back
Top