Just starting out

  • Thread starter Thread starter Milos Setek
  • Start date Start date
M

Milos Setek

Hello all,

I am a real newbie. I've just installed vs.net and I am starting with the
simplest example HelloWorld.

When running the simple hello world example as required (by executing
build.bat in C:\Program Files\Microsoft Visual Studio
..NET\FrameworkSDK\Samples\Tutorials\PlatformIntroduction\HelloWorld\VC) I
get the following feedback at the dos prompt:
'cl.exe' is not recognized as an internal or external command,
operable program or batch file.

Where in this environment do I set up the paths so that cl.exe runs.

Thanks for your help in advance.

Milos.
 
The problem is you do not have the path statement set. With Visual Studio
..NET, there is a command prompt that contains the proper path. The full path
(you will only need a part of this) for 1.1 is (formatted for 1.1 and
VS.NET):

REM *****************************
REM Alter Path
REM *****************************

PATH=c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE;c:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN;c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools;c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\bin\prerelease;c:\Program Files\Microsoft Visual Studio
..NET 2003\Common7\Tools\bin;c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\bin;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\WINDOWS\sy
stem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL
Server\80\Tools\BINN;C:\Program Files\Common
Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer
Shared;;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\Program
Files\Microsoft Application Blocks for .NET\Data Access
v2\Code\VB\Microsoft.ApplicationBlocks.Data;C:\WINDOWS\Microsoft.NET\Framewo
rk\v1.1.4322;C:\Program Files\Microsoft Application Blocks for .NET\Data
Access
v2\Code\VB\Microsoft.ApplicationBlocks.Data;C:\WINDOWS\Microsoft.NET\Framewo
rk\v1.1.4322

PATH=%PATH%;C:\Program Files\Microsoft Application Blocks for .NET\Data
Access
v2\Code\VB\Microsoft.ApplicationBlocks.Data;C:\WINDOWS\Microsoft.NET\Framewo
rk\v1.1.4322;C:\Program Files\MicrosoftApplication Blocks for .NET\Data
Access v2\Code\VB\Microsoft.ApplicationBlocks.Data

PATH=%PATH%;C:\Program Files\Microsoft Application Blocks for .NET\Data
Access v2\Code\VB\Microsoft.ApplicationBlocks.Data



--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

****************************************************************************
****
Think Outside the Box!
****************************************************************************
****
 
Back
Top