set oShell = CreateObject("WScript.Shell")
oShell.run"cmd.exe"
WScript.Sleep 500
oShell.SendKeys"telnet 10.52.2.1"
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
'Give your password in the next line
oShell.SendKeys"password"
oShell.SendKeys("{Enter}")
WScript.Sleep 500
Save it as somename.vbs . double click it ...:-) done
Personal Blog of Computer Science Engineer
Wednesday, November 02, 2011
TELNET USING VB
To telnet your server and to execute whatever your commands on server , you can just make a VB script as follows.
Related Posts:
Subscribe to:
Post Comments (Atom)
-
Today i attended the Microsoft's Internship test . Here i am posting the questions so it will be useful to you too.. It was a one hour long...
-
I found a simple nautilus script which is very usefull for those who usually plays something in VLC. Script to add a file to VLC playlist by...
-
A cool , simple sidebar widget for Google Plus profile badge .. How to add Google plus profile badge in Wordpress Widget area ? Download...
-
For the completion of my computer Networking course, i done a project on implementation and configuring NAGIOS and configuring some addons a...
-
The NRPE (Nagios Remote Plugin Executor) addon is designed to allow you to execute Nagios plugins on remote Linux/Unix machines. The main r...
-
▼
2011
(23)
-
►
July
(9)
- Top 100 People on Google Plus
- Changing the favicon in blogger
- Portfolio Manager plugin for Wordpress
- Adding Widget area in a wordpress theme
- Programming language Syntax highlighter in Javascr...
- Screen shot of Website in firefox
- Google Plus Profile Badge widget for Wordpress
- Using GREP command in Terminal to search the entir...
- Please do not alter or modify the footer. See our ...
-
►
July
(9)
-
►
2009
(15)
-
►
November
(10)
- Nagios Remote Plugin Executor ( NRPE ) installati...
- Instant File sharing in LAN
- NMAP: The Best network exploration tool
- Creating Permanent Aliases
- SSH without Password Authentication
- installing NAGIOS in Ubuntu 9.10
- GnomeShell- the next Desktop environment
- NAUTILUS-OPEN-TERMINAL
- AFTER INSTALLING KARMIC ?
- KARMIC KOALA STABLE VERSION RELEASED
-
►
November
(10)

0 comments:
Post a Comment