1. Post #1
    don868's Avatar
    September 2007
    1,393 Posts
    My friend wants to make a story he wrote play out in command prompt like the telnet server playing Starwars, only no ASCII characters. He wants to make it look as if someone is logging into a computer running MS DOS and opening up a text file.

    I know there is a way to do this, I'm just not sure how. I know it can be executed through a .bat file.

  2. Post #2
    Quality Poster
    johan_sm's Avatar
    August 2010
    9,181 Posts
    echo ""?

  3. Post #3
    don868's Avatar
    September 2007
    1,393 Posts
    So is that all I would use?

    Edited:

    How about if I wanted the user to put in a user name and password.

  4. Post #4
    Gold Member
    robmaister12's Avatar
    January 2008
    4,969 Posts
    set /p varname="promptgoeshere:"
    if %varname%=="somevalue" echo success
    if %varname%=="somethingelse" goto anotherSpot

    in case you didn't notice, you can put whatever you want after an if statement, whether it's goto, echo, ping, whatever.

  5. Post #5
    don868's Avatar
    September 2007
    1,393 Posts
    Thanks