|
Answer» i want to be able to run the .bat file and have it TYPE out a load of commands in TELNET for me. how can i do this? thanksIn command PROMPT type in telnet /?this just shows me some commands i can use in telnet. i need to KNOW how to write this in the .bat file so that when i click on it, it will conduct it for me
i start with c:\windows\system32\telnet.exe is this right?
basically i want to be able to click on my .bat file and have it use telnet to send an email. using the commands in telnet: open smtp.dsl.pipex.com 25
mail from:<[email protected]>
rcpt to:<[email protected]>
you get me?
thanks
Code: [Select]echo off telnet command pause >nulAnd so on...sorry but i am confused i am an absolute beginner in using cmd's
should it look like this? because it doenst APPEAR to work
c:\windows\system32\telnet.exe echo off telnet open smtp.dsl.pipex.com mail to:<[email protected]> pause >nulThere is no need for the c:\windows\system32\telnet.exe As for telnet commands, you will need someone elses help.
|