Compiling Programs from Dos Window
Hi there,
I am trying to follow the tutorial
http://www.functionx.com/visualc/com...ne/cmdline.htm
At step 2 when I type "C:\>CD Program Files\Microsoft Visual Studio\VC98\Bin" I get the error message "C:\" is not recognizes as internal or external command?
I am using windows XP SP3 and the free verison of Microsoft Visual Studio 8.
Thanks
Ba\
Re: Compiling Programs from Dos Window
Quote:
when I type "C:\>CD Program Files\Microsoft Visual Studio\VC98\Bin"
Looks like you're simply doing a Change Directory command. You don't have to type the c:\> as it should already be there, you just type the CD ProgramFiles\.... part. And this is all based on the assumption that the path you type in exists.
Re: Compiling Programs from Dos Window
In addition to what jeron said, since there are spaces in the name, you'll have to enclose the entire path in quotes:
Code:
cd "Program Files\Microsoft Visual Studio\VC98\Bin"
Hope that helps.
Re: Compiling Programs from Dos Window
Or type cd program and then press tab, add a backslash and type micro and tab until VC dir is shown and so on...
Re: Compiling Programs from Dos Window
Quote:
Or type cd program and then press tab, add a backslash and type micro and tab until VC dir is shown and so on...
Cool, I didn't know that.:thumb:
Re: Compiling Programs from Dos Window
I think it's default console behaviour from XP and forward (can't remember if I've changed it myself)
If not just edit HKEY_CURRENT_USER\Software\Microsoft\Command Processor - CompletionChar and set it to 9
EDIT: Probably is default since HKEY_USERS\.DEFAULT\Software\Microsoft\Command Processor is set to 9 as well and I doubt that I've changed that key.
Re: Compiling Programs from Dos Window
Quote:
I think it's default console behaviour from XP and forward
Yeah, it looks like it is.
A nice little feature that I'll using a lot.:)