473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VS2003 Command Prompt

All,

I am trying to use Regasm from the command prompt and have to keep putting
the full file path of where my assembley is located. Does anyone know how to
set it up so wherever I run the command prompt from I can use Regasm saving
entering the full path.

Thanks
Msuk
Nov 16 '05 #1
2 2618
Hi Msuk,

You can add the path to regasm or any other framework files in the operating system's Path variable.

Where the statements is located varies, but in Windows XP you can find it in

Control Panel->System->Advanced->Environment Variables

Double-click on the Path line and add

;C:\Windows\Microsoft.Net\Framework\v1.1.4322

to the end of that line. The ; is a directory separator character.

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2
I use the same technique as the XP powertoy "Open Command Window here"

Try adding the following entries to your registry. You should get a new item
on the popup when you right click folders/drives in Windows Explorer.
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\vsnet]
@="Open VS.NET Command Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\vsnet\command]
@="cmd /k \"cd %L && \"C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\Tools\\vsvars32.bat\""

[HKEY_CLASSES_ROOT\Drive\shell\vsnet]
@="Open VS.NET Command Prompt Here"

[HKEY_CLASSES_ROOT\Drive\shell\vsnet\command]
@="cmd /k \"cd %L && \"C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\Tools\\vsvars32.bat\""

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:F2**********************************@microsof t.com...
All,

I am trying to use Regasm from the command prompt and have to keep putting
the full file path of where my assembley is located. Does anyone know how to set it up so wherever I run the command prompt from I can use Regasm saving entering the full path.

Thanks
Msuk

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rog | last post by:
Yes, I am guessing that typing cmd in the run windows will bring up the command prompt, but not the vs.net command prompt. Is there a switch(s) for accessing the vs.net command prompt? Or...
4
by: glenn | last post by:
I keep reading all sorts of books on VS that keep telling me to click on Tools/Visual Studio Command prompt to run this program or that program. However, I do not have such a menu choice. Where is...
4
by: Thomas Johnson | last post by:
I am trying to find out how to access the VS 2003 .Net command prompt. I am trying to execute the 'csc' command against a module but have no idea where to find the command prompt. Here's a stupid...
3
by: David Gildea | last post by:
Hi All, I am having a problem with IIS 5.1 when opening new web projects on VS2003. I have recently installed VS 2005 on the same machine. Is anyone aware of a conflict between them. The error...
6
by: Jwolf | last post by:
I have .net 2002 edu version and when it installed there was a shortcut to the .net command prompt. My CLR disk is scratched so I can't reinstall and so I just downloaded express. I dont know...
15
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers...
5
by: Tony | last post by:
Hi all, Here's the link to the issue we were seeing on our ASP.NET system when modifying, adding and deleting directories in framework 2.0....
3
by: kimiraikkonen | last post by:
Hi experts, I just want to ask a simple procedure of my simple form. My form has a input textbox and a button. I want this if you can help me: Application user types a command prompt command...
0
by: Andrei | last post by:
Hi Group, Is there any way to find out what is the exact syntax that VS2003 is using when compiling/starting a asp.net application ? I'm looking for all the parameters needed for issuing a vbc...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.