doubt on command prompt

M

manoj

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\config\client.ovpn" --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 (e-mail address removed)
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

You could try to use the RedirectStandardXXXX properties of the
ProcessStartInfo. 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top