Thread: Command Line?

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    66

    Command Line?

    I'm a newbie at C# and was reading this tutorial. I got to the part when it said : csc Welcome.cs . It said something 'bout typing it in your command line, but...wat's the COMMAND LINE?
    An Unofficial Cristiano Ronaldo Website : Ronaldo 7

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    The command line is commonly refered to as the "DOS-Window" ( which is in fact incorrect, but anyone uses this word ), the black box that pops up when you type "command" ( Win9x ) or "cmd" ( WinNT/2K/XP ) in your startmenu's execute option.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    66
    I tried that, and it said something like: csc is not an internal command or something
    An Unofficial Cristiano Ronaldo Website : Ronaldo 7

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    csc is the program that compiles C# files. It is located somewhere in your .NET Framework folders. To run it from everywhere, you need to include this path in your environment %path% variable.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    I would suggest learning a little more about command lines / OS's before learning a language - it might help.
    Do not make direct eye contact with me.

Popular pages Recent additions subscribe to a feed