CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Command Shell

  1. #1
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Command Shell

    Does any one know of a development tools that will let me create Command Shells or loadable Modules.
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    106

    Re: Command Shell

    What do you mean exactly, do you want a tool to do a command shell from C# ?

    in that case you might need something in this direction:
    Code:
                System.Diagnostics.Process proc = new System.Diagnostics.Process();
                proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
                proc.EnableRaisingEvents = false;
                proc.StartInfo.CreateNoWindow = true;
                proc.StartInfo.UseShellExecute = false;
                proc.StartInfo.FileName = "pathtoexecutable\\yourexecutablename.exe";
                proc.StartInfo.RedirectStandardOutput = true;

  3. #3
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: Command Shell

    From what I been Reading Yes. Its a tool that runs when I want it too. That runs scripts. Like a Loadable Modules or a Command Shell.

    Its for a server I made and after I made it. I have to find an option that I can add to let me or other people log in to the server. Like the old telnet use to be. Well it will give me a choice of menus and so on. Where I can transfer files and lots of other things.
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    106

    Re: Command Shell

    You mean to log in and do anything you want ?
    Maybe in that case you should use remote desktop

  5. #5
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: Command Shell

    well no. a desktop is fine for some people. i wanted some thing different
    where people could log in and post messages and transfer files. oh i think its called ascii. or ansii
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured