Tuesday, June 22, 2010

OPEN FOLDER IN COMMAD PROMPT

OPEN FOLDER IN COMMAD PROMPT
     
In Windows XP we can also open a folder with commad prompt...Just follow the seps below to avail this

Open Notepad by going to Run Command (Windows + R OR Start> Run), type “notepad”(without quotes).
Copy and paste the following code:
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command from here"
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd /k \"cd %L\""
Now save it on desktop as “command.reg” (with quotes (see the image below).

Now you’ll have following shortcut icon.

Double click to open it. It will ask to add information in registry or not.

Click YES.
Again it will notify that registry has been modified. Click OK

Now try right clicking on any folder, you’ll see Open Command from here. Click it.

You’ll notice that command prompt windows load up in the directory that you’ve right clicked on.
Source:Pchack

No comments:

Post a Comment