doubt on command prompt

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • manoj

    #1

    doubt on command prompt

    he exact question is i have to open first cmd and run this command

    openvpn --management-query-passwords --cd "C:\Program Files\OpenVPN
    \config" --management-hold --management 127.0.0.1 7536 --config "C:
    \Program Files\OpenVPN\c onfig\client.ov pn" --auth-user-pass

    then i have to open one more command and execute this command


    telnet

    open localhost 7536


    username Auth manoj

    password Auth manoj

    then u can see some thing happening in first command prompt

    then i have to open 3rd command prompt and execute this one ipconfig

    then it returns ip of the serve that should be display in text file


    can any help it out

    pls reply me to manoj22184@gmai l.com
  • Ignacio Machin \( .NET/ C# MVP \)

    #2
    Re: doubt on command prompt

    Hi,

    You could try to use the RedirectStandar dXXXX properties of the
    ProcessStartInf o. It might work but it's not that easy (I think).
    Additionally you could use a third party telnet client. nSoft has one and
    I'm pretty sure that you can find some free ones.

    --
    Ignacio Machin
    The #1 Warehouse Management System & Direct Store Delivery Software (DSD) for QuickBooks & ERP Systems – LaceUp Solutions

    Mobile & warehouse Solutions.
    "manoj" <manoj22184@gma il.comwrote in message
    news:e19292fc-19d9-4462-9d0a-86cb7004385a@k2 g2000hse.google groups.com...
    he exact question is i have to open first cmd and run this command
    >
    openvpn --management-query-passwords --cd "C:\Program Files\OpenVPN
    \config" --management-hold --management 127.0.0.1 7536 --config "C:
    \Program Files\OpenVPN\c onfig\client.ov pn" --auth-user-pass
    >
    then i have to open one more command and execute this command
    >
    >
    telnet
    >
    open localhost 7536
    >
    >
    username Auth manoj
    >
    password Auth manoj
    >
    then u can see some thing happening in first command prompt
    >
    then i have to open 3rd command prompt and execute this one ipconfig
    >
    then it returns ip of the serve that should be display in text file
    >
    >
    can any help it out
    >
    pls reply me to manoj22184@gmai l.com

    Comment

    Working...