Thread: system("telnet");

  1. #1
    Registered User bradszy's Avatar
    Join Date
    Jan 2008
    Posts
    114

    system("telnet");

    Why doesn't this work in Dev-C++? It just hangs? Things like system("del"); work, so why not system("telnet");?
    I was aiming to get it to open the microsoft telnet client... Any help? Thanks.
    OS: Windows XP Home Edition SP3, Windows 7 Ultimate Beta Build 7000
    LANGUAGES: C++, VB6
    SKILL: Novice/Intermediate

  2. #2
    Ex scientia vera
    Join Date
    Sep 2007
    Posts
    477
    I'm sure it works fine. However, you can't write output to the telnet client. It is a seperate process/application.

    EDIT: Also, try using "start telnet" instead.
    Last edited by IceDane; 03-15-2008 at 07:02 AM.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    9
    system("start telnet"); should work 100% , I also had the same problem as yours, and after some experimenting, i found that this command works the best.

Popular pages Recent additions subscribe to a feed