Need to save result of telnet

G

Guest

Folks, I want to use telnet a unix box from windows, so i execute:

telnet hostname 13

and the result is:

Fri Oct 27 15:18:02 2006


Connection to host lost.

but i want to save this output so i repeat the same command but redirecting
the output to a file, so my command is:

telnet hostname 13 >> c:\out.txt

but c:\out.txt is always empty (0).

Do you have an idea about how to solve this or do you know another method
for saving the output to a file?.

If i execute date /T the file has results, but if i use telnet no

TIA for your help & comments
 
J

John John

Try SET. At the telnet prompt do: set logfile filename.txt
Do set ? for help.

John
 

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