Opening Command Prompt directly for a Particular Directory from Explorer
Page 1 of 1
Opening Command Prompt directly for a Particular Directory from Explorer
One of the annoying features of Windows operating systems in general is that the command prompt is not too well integrated with the desktop. This means that any time you drop to the command prompt, you will have to navigate to the directory you need manually, instead of being able to drop into any folder you want from the desktop interface. Since at some point you will likely find yourself in need of the command prompt to perform some function on your CP system, we thought we'd show you a quick registry hack that will enable you to call up a command prompt from any folder.
Start Regedit.
Navigate to 'HKEY_CLASSES_ROOT \ Directory \ shell'
Create a new key called 'Command.'
Edit the default REG_SZ value for this new key with the text you wish to see when you right click a folder to open the command prompt window. Assign it a name that's appropriate, for example: 'open command prompt in this folder' or something similar.
Under the new 'command' key, create another key called 'command.'
Give the default value in this key the value of 'cmd.exe /k "cd %L"'
After you restart your computer, you will be able to right click on any folder and select your new command to instantly open a command prompt window to that specific folder.
andry- Moderator
- Posts : 467
Join date : 2010-05-07
Similar topics
» Best Alternative If Command Prompt Is Blocked
» Run command prompt utilities successfully from shortcuts
» Safari 4 Automatic explorer.exe launch
» XSS, Command and SQL Injection vectors: Beyond the Form
» Introducing the Google Command Line Tool
» Run command prompt utilities successfully from shortcuts
» Safari 4 Automatic explorer.exe launch
» XSS, Command and SQL Injection vectors: Beyond the Form
» Introducing the Google Command Line Tool
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|