PDA

View Full Version : Dos Question



DWk
01-31-2004, 03:25 AM
Is there any way that whenever I go into DOS (by running cmd or command), it takes me to a different folder rather than C:\docs and settings\user?

Thanks :)

Xero Grid
01-31-2004, 03:56 AM
Yeah. There's a registry patch you can make.

Open a text file and input this:


[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Command Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""


Then, rename it to a .REG file and merge it into the registry. What this will allow you to do is whenever you right-click on a folder, you cna open a command prompt window in the folder.

-- Xero Grid --

DWk
01-31-2004, 04:12 AM
:o cool

You hath come again for me :D

Ok, since we are at it, may I ask another question? Bleh there it goes :P

Is there a way to make the DOS bash faster? Like linux bash? I'm a fast typer and I hate waiting lol :)

Xero Grid
01-31-2004, 04:22 AM
No prob.

Hmmm.. the command prompt seems fast when I use it. Do you mean creating DOS batch files ".bat" (like bash shell files ".sh" files), or just using the command prompt? Because to make the CMD prompt faster, I'm not sure about that, but I do know a way to have the bash shell on windows. :D

With Cygwin (http://www.cygwin.com/), you can use lots of linux utilities on windows, for a familiar look and feel.

If it's somethign else, then maybe you should be more specific.

-- Xero Grid --