I am having access to POP SMTP and IMAP server. I need to give some set of commands every hour starting telnet session. Please let me know is there any way out to group all the commands in a script and run only that script which will perform all the desired result. I am using windows XP as operating system. I tried using batch file but it initiates only telnet session. After getting connected to telnet I have to manually type the commands which I want to automate.