Windows shell programming?

This is a discussion on Windows shell programming? within the Windows Programming forums, part of the Platform Specific Boards category; I downloaded netcat. And I tried it out by making it execute cmd.exe when somebody connects to it. But I ...

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    Windows shell programming?

    I downloaded netcat. And I tried it out by making it execute cmd.exe when somebody connects to it. But I want to make my own shell. How would I do this? This is on windows.

    Is there anywhere that has the source to cmd.exe so I can look at it?

    Any help?

    Thanks.

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    >>This is on windows

    Then doesn't it belong on the windows board?
    Away.

  3. #3
    ___
    Join Date
    Jun 2003
    Posts
    806
    I thought shells were programming using Perl?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  4. #4
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    Originally posted by ZakkWylde969
    I thought shells were programming using Perl?
    shells are the interface between the user and the kernel. For instance bash, tcsh, or the windows command prompt.

  5. #5
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    I am 90% sure that the source code to cmd.exe is in the hands of Microsoft and it is purely confidential.

    I am not fully aware of the ability to use shells on Windows in the first place, the most you can do I believe is open up a lot of windows running cmd.exe. But this isn't even a true shell because it is a child process of the GUI since win98.

    Correct me if I am wrong please, all the info presented are either assumptions from experience or read off other forums.

    -LC
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 10:59 AM
  2. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 06:31 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 10:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21