COM+

G

Guest

I installed Visual Studio .NET 2003 (Default Install) on XP Professional with
SP2.

When I try to register a COM+ app using regsvcs in CMD.exe it gives me an
error (Bad Command or File name).

But when I try the same in Visual Studio.NET Command Prompt, it works. Is
there any way I can get CMD.EXE to use regsvcs? In other words, what do I add
to the PATH windows variable, to get CMD.EXE to run all commands only
available in Visual Studio.NET Command Prompt?

Thanks in Advance,
Darshan
 
L

Leon Mayne [MVP]

Darshan said:
what do I add to the PATH windows variable, to get CMD.EXE to
run all commands only available in Visual Studio.NET Command Prompt?

There are quite a few, but for regsvcs you need to add:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.x

(Replace x with the version you have. Look in
C:\WINDOWS\Microsoft.NET\Framework to see which version is the lastest you
have on your machine)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top