I have installed version 1.1 SDK, saved the "Hello World" code example, but
when I load the command prompt (black DOS window) and type in the compiler
instruction from the directory where the file is stored I get an error
message saying that the vbc command is not recognized by the system. Where
have I gone wrong?

Signature
mjy
S.M. Altaf [MVP] - 06 Oct 2005 21:05 GMT
You need to navigate to where vbc.exe is located and run it from there.
In your command prompt window, head over to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322, and run it from there. Be
sure to specify the path to the file from there. For more help, type
vbc /?
-Altaf
[MVP - VB]
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
>I have installed version 1.1 SDK, saved the "Hello World" code example, but
> when I load the command prompt (black DOS window) and type in the compiler
> instruction from the directory where the file is stored I get an error
> message saying that the vbc command is not recognized by the system.
> Where
> have I gone wrong?
Hari Sekhar (MSFT) - 10 Oct 2005 18:59 GMT
Mjy,
You need to setup your environment to include the compilers in the path. You can do this by running the "sdkvars.bat" file in your command prompt. "sdkvars.bat" is located in the <path to SDK>\SDK\v1.1\bin folder on your computer.
Hope this helps
Hari Sekhar
Microsoft
-----Original Message-----
From: mjy@discussions.microsoft.com
Posted At: Thursday, October 06, 2005 9:53 AM
Posted To: microsoft.public.dotnet.framework.sdk
Conversation: Compiler not found from command prompt
Subject: Compiler not found from command prompt
I have installed version 1.1 SDK, saved the "Hello World" code example, but
when I load the command prompt (black DOS window) and type in the compiler
instruction from the directory where the file is stored I get an error
message saying that the vbc command is not recognized by the system. Where
have I gone wrong?

Signature
mjy