- Jul 30, 2001
- 515
- 0
- 0
A couple of questions, all relating to command line.
I am trying to setup a nice programming environment for myself, and I need to use the command line to execute my code. currently I am going to start->run and typing "command." however when I search for command.exe I can't find it, only cmd.exe, I figure that command must be some sort of alias or something, but I don't know anything about that, so can somebody explain to me how windows knows that when I type command it executes cmd.exe.
You might say just type cmd, what's the big deal. Well I am trying configure my MS internet pro keyboard to use the "media" button as a shortcut to an ms-dos screen with the current path set to my java directory. But instead if I link the media button to c:\winnt\...\cmd.exe, it goes to, you guessed it c:\winnt\...\.
Also is there a way to change the defualt directory I am in, when I first start up the ms-dos console. Is it a systems variable...comspec? (what is that comspec variable anyway).
I am trying to setup a nice programming environment for myself, and I need to use the command line to execute my code. currently I am going to start->run and typing "command." however when I search for command.exe I can't find it, only cmd.exe, I figure that command must be some sort of alias or something, but I don't know anything about that, so can somebody explain to me how windows knows that when I type command it executes cmd.exe.
You might say just type cmd, what's the big deal. Well I am trying configure my MS internet pro keyboard to use the "media" button as a shortcut to an ms-dos screen with the current path set to my java directory. But instead if I link the media button to c:\winnt\...\cmd.exe, it goes to, you guessed it c:\winnt\...\.
Also is there a way to change the defualt directory I am in, when I first start up the ms-dos console. Is it a systems variable...comspec? (what is that comspec variable anyway).