Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

help needed

Options
  • 27-06-2001 10:14pm
    #1
    Registered Users Posts: 2,051 ✭✭✭


    Lads,

    I need help with a (prbably) simple thing.
    I need a scrip that will do the following:
    - Open a DOS box
    - run the following command: "telnet 192.168.1.85"

    I presume that someone here can do this for me?



Comments

  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    just put "telnet 192.168.1.85" in a batch file or shortcut and double click it.



  • Moderators, Science, Health & Environment Moderators Posts: 8,815 Mod ✭✭✭✭mewso


    I don't like it. It's too easy.


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    <font face="Verdana, Arial" size="2">Originally posted by musician:
    I don't like it. It's too easy.</font>

    1. open dos Box.
    2. type "copy con tellynetty.bat"
    3. Type the following into it.
    @echo off
    set TELNET=telnet
    set DEFADDR=192.168.1.85
    if %1. == . goto default
    set ADDR=%1
    goto main
    :default
    set ADDR=%DEFADDR%
    :main
    echo @start /W %TELNET% %ADDR% &gt; %TEMP%\runtel.bat
    if exist %TEMP%\runtel.bat call %TEMP%\runtel.bat
    if exist %TEMP%\runtel.bat del %TEMP%\runtel.bat
    goto end
    :end
    

    Is that any more complicated for you? wink.gif
    [note: It was intentional]

    or you could type instead
    @telnet 192.168.1.85
    

    4. Press CTRL-Z to save the batch file.
    5. run Tellynetty.bat


    [This message has been edited by Hobbes (edited 28-06-2001).]


Advertisement