| Author |
Topic  |
|
|
Raul0024
Passenger
1 Posts |
Posted - 03/31/2006 : 2:23:47 PM
|
J'utilise ce code pour lancer une session telnet a partir du DOS, alors la session s'ouvre:
Option Explicit On Error Resume Next
Dim WshShl Set WshShl = WScript.CreateObject("WScript.Shell")
WshShl.run "telnet",1,True
WScript.Quit()
maintenant je veux lancer par ex: "telnet 192.168.1.1" mais j'aurais pas le resultat voulu et le DOS se ferme.
j'ai besoin de me connecter a une session telnet avec une adresse IP et en plus je veux que le login ainsi que le password soient enregistré dans un fichier texte dont je precise l'emplacement.
SVP aidez moi a terminer ce script VBS pour avoir le reseultat voulu. merci d'avance.
salut |
|
|
zwemkec
Moderator
    
USA
713 Posts |
Posted - 04/02/2006 : 09:38:42 AM
|
Désolé, je ne parle pas Français.
D'ailleurs, ce n'est pas l'endroit pour vous aider avec vos questions de telnet.
<% Chris Zwemke zwemkec @ aspilot . com www.aspilot.com %> |
 |
|
|
scarab
Forum Admin
    
USA
413 Posts |
Posted - 04/07/2006 : 07:53:44 AM
|
Was ist denn los here?
Andy Spliethof ASPilot www.ASPilot.com A division of Spliethof, Inc. |
 |
|
|
scarab
Forum Admin
    
USA
413 Posts |
Posted - 04/07/2006 : 07:58:24 AM
|
TRANSLATED:
I use this code to launch a session telnet from DOS, then the session opens:
Option Explicit On Error Resume Next
Dim WshShl Set WshShl = WScript.CreateObject("WScript.Shell")
WshShl.run "telnet",1,True
WScript.Quit()
now I want to launch by ex: "telnet 192.168.1.1" but I would not have the desired result and DOS is closed. I need to connect me has a session telnet with an address IP and in more I want that the login as well as the password are recorded in a textual file of which I precise the site. PLEASE help me has to finish this script VBS to have the reseultat wanted thank you in advance.
Andy Spliethof ASPilot www.ASPilot.com A division of Spliethof, Inc. |
 |
|
| |
Topic  |
|