473,406 Members | 2,954 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,406 software developers and data experts.

question about using the command prompt

Ok, I'm still a little confused about how to use the command line with
the C# compiler that came with the SDK. I get a message saying the
command isn't recognized, so I guess I'm in the wrong directory, but how
do I find the right one?

Thanks.
Nov 16 '05 #1
8 1285
John Salerno wrote:
Ok, I'm still a little confused about how to use the command line with
the C# compiler that came with the SDK. I get a message saying the
command isn't recognized, so I guess I'm in the wrong directory, but how
do I find the right one?

Thanks.


You need to add the path to the .NET SDK folder to system PATH variable.
The SDK path would be:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
that's what you add to the environment variable PATH

HIH,
Andrey
Nov 16 '05 #2
John Salerno wrote:
Ok, I'm still a little confused about how to use the command line with
the C# compiler that came with the SDK. I get a message saying the
command isn't recognized, so I guess I'm in the wrong directory, but how
do I find the right one?

Thanks.


Ok, I figured this out, but one more question: When I closed the command
window and went back, it defaulted to the regular paths again, so I
would have to keep typing in the path command to get to the compiler. Is
there a way to add it to the list of defaults?
Nov 16 '05 #3
John Salerno wrote:
John Salerno wrote:
Ok, I'm still a little confused about how to use the command line with
the C# compiler that came with the SDK. I get a message saying the
command isn't recognized, so I guess I'm in the wrong directory, but
how do I find the right one?

Thanks.

Ok, I figured this out, but one more question: When I closed the command
window and went back, it defaulted to the regular paths again, so I
would have to keep typing in the path command to get to the compiler. Is
there a way to add it to the list of defaults?


If you have Windows 2000/XP, right click on "My Computer"->"Properties"->"Advanced" Tab->Click on
"Environment Variables" and there in "System Variables" box you select "PATH" and click "Edit", then
add SDK path to the line of paths and "Ok". That's it.

By the way why use console? There is a free IDE for .NET - Sharp Develop:
http://www.icsharpcode.net/OpenSource/SD/

Hope it helps,
Andrey
Nov 16 '05 #4
MuZZy wrote:
John Salerno wrote:
John Salerno wrote:

Ok, I'm still a little confused about how to use the command line with
the C# compiler that came with the SDK. I get a message saying the
command isn't recognized, so I guess I'm in the wrong directory, but
how do I find the right one?

Thanks.

Ok, I figured this out, but one more question: When I closed the command
window and went back, it defaulted to the regular paths again, so I
would have to keep typing in the path command to get to the compiler. Is
there a way to add it to the list of defaults?

If you have Windows 2000/XP, right click on "My Computer"->"Properties"->"Advanced" Tab->Click on
"Environment Variables" and there in "System Variables" box you select "PATH" and click "Edit", then
add SDK path to the line of paths and "Ok". That's it.

By the way why use console? There is a free IDE for .NET - Sharp Develop:
http://www.icsharpcode.net/OpenSource/SD/

Hope it helps,
Andrey


Thanks.

And I figure I might give the console a try, just to see how it works,
before switching to an IDE. I figure the console will allow me to really
see what's happening, whereas an IDE hides some of the process. But I
don't plan to stick with the console, I'm sure.
Nov 16 '05 #5
MuZZy wrote:
John Salerno wrote:
John Salerno wrote:

Ok, I'm still a little confused about how to use the command line with
the C# compiler that came with the SDK. I get a message saying the
command isn't recognized, so I guess I'm in the wrong directory, but
how do I find the right one?

Thanks.

Ok, I figured this out, but one more question: When I closed the command
window and went back, it defaulted to the regular paths again, so I
would have to keep typing in the path command to get to the compiler. Is
there a way to add it to the list of defaults?

If you have Windows 2000/XP, right click on "My Computer"->"Properties"->"Advanced" Tab->Click on
"Environment Variables" and there in "System Variables" box you select "PATH" and click "Edit", then
add SDK path to the line of paths and "Ok". That's it.

By the way why use console? There is a free IDE for .NET - Sharp Develop:
http://www.icsharpcode.net/OpenSource/SD/

Hope it helps,
Andrey


Btw, have you (or anyone) ever tried the "Key of C#" IDE created by
Charles Petzold? Is it as good as Sharp Develop?

Also, what does the C# .NET 2003 compiler do that these free ones can't?
Nov 16 '05 #6
John Salerno wrote:
MuZZy wrote:
John Salerno wrote:
John Salerno wrote:
Ok, I'm still a little confused about how to use the command line
with the C# compiler that came with the SDK. I get a message saying
the command isn't recognized, so I guess I'm in the wrong directory,
but how do I find the right one?

Thanks.

Ok, I figured this out, but one more question: When I closed the
command window and went back, it defaulted to the regular paths
again, so I would have to keep typing in the path command to get to
the compiler. Is there a way to add it to the list of defaults?


If you have Windows 2000/XP, right click on "My
Computer"->"Properties"->"Advanced" Tab->Click on "Environment
Variables" and there in "System Variables" box you select "PATH" and
click "Edit", then add SDK path to the line of paths and "Ok". That's it.

By the way why use console? There is a free IDE for .NET - Sharp
Develop: http://www.icsharpcode.net/OpenSource/SD/

Hope it helps,
Andrey

Btw, have you (or anyone) ever tried the "Key of C#" IDE created by
Charles Petzold? Is it as good as Sharp Develop?

Also, what does the C# .NET 2003 compiler do that these free ones can't?


The compiler is the same, it's the IDE's that might have some different features
Nov 16 '05 #7
MuZZy wrote:
The compiler is the same, it's the IDE's that might have some different features


And I guess the IDE that comes with C# .NET Standard is better than the
others?
Nov 16 '05 #8
John Salerno wrote:
MuZZy wrote:
The compiler is the same, it's the IDE's that might have some
different features

And I guess the IDE that comes with C# .NET Standard is better than the
others?

Is there any?
Well, i like Sharp Develop, but still work on Visual Studio 2003 :)
Nov 16 '05 #9

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

Similar topics

1
by: Jennifer | last post by:
I've got a question that may not be especially appropriate to this group but since it involves a SQL Server 7 job, thought I'd ask. The company I work for has NT4 servers with SQL Server 7 in...
5
by: ask | last post by:
Hi NG I'm a bit new to programming c# and have a question regarding ftp by the command prompt. As far as I can see it should be possible to start a process and pipe command streams into it. But...
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...
3
by: michael.esposito | last post by:
I need to install the Office XP PIA files on a server, and the Microsoft instructions says it needs the .Net Command Prompt to run them. I do not have Visual Studio installed on the server, nor do...
29
by: Tiraman | last post by:
Hi, I Build my own dll with my own namespace name and i would like to put it in one place but for the project bin folder so all of the projects will be able to use it . i tried to put the dll...
5
by: iwdu15 | last post by:
i used regasm to make my vb.net control a tlb file...how can i add it to like my c++ form? i used regasm and made it to a .tlb file but when i try to add it to the toolbox it gives an error....what...
2
by: Steven | last post by:
I have developed an application using VB.NET, it works fine in my local drive. However, security exception is flowed when I try to run the release program under a network drive. I have signed the...
1
by: megh55555 | last post by:
Hi , how can we pass arguments to a function located in xyz.py file using the DOS command Prompt. I know its very easy to pass using the python command line but m finding it impossible to do...
0
by: bsdixon21222 | last post by:
Hello All, I havn't been programming with python too long, but decided the best way to learn it would be to dive right in. Right now I have been taking snippets here and there along with...
5
n8kindt
by: n8kindt | last post by:
this is a very basic question but i might be making it more complicated than it should be. if i were to have a query with the following code SELECT Tbl1.ID, Tbl1., Tbl1. FROM Tbl1 WHERE...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.