Command Line Programs
-
Hi Guys Can anybody tell me how to get a program to run from the command line in windows regardless of what directory your in? (Like you can with Notepad, and Calc etc) I'm using Win XP Pro and Win Server 2003 Thanks :)
If you notice this notice, you will notice that this notice is not worth noticing...
-
Hi Guys Can anybody tell me how to get a program to run from the command line in windows regardless of what directory your in? (Like you can with Notepad, and Calc etc) I'm using Win XP Pro and Win Server 2003 Thanks :)
If you notice this notice, you will notice that this notice is not worth noticing...
Hi, when given a command through a command line ("Command Prompt", "DOS Window", whatever they call it), Windows will look for an executable in the current directory, and it will scan the locations/folders named in the "system environment variable" named PATH, which you can set interactively by right-diving into "My Computer". It would include by default the standard places such as C:\Windows\system32 and that is how Notepad is found. you can prefix your paths to PATH and use a semi-colon to separate paths. BTW: it would be different for locating managed code DLL files, and for Java classes. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Hi, when given a command through a command line ("Command Prompt", "DOS Window", whatever they call it), Windows will look for an executable in the current directory, and it will scan the locations/folders named in the "system environment variable" named PATH, which you can set interactively by right-diving into "My Computer". It would include by default the standard places such as C:\Windows\system32 and that is how Notepad is found. you can prefix your paths to PATH and use a semi-colon to separate paths. BTW: it would be different for locating managed code DLL files, and for Java classes. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
you're welcome. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.