PilotCart Support Forum
PilotCart Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snippets
 VBScript
 Aide sur VBScript!!!!!!!!
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

Raul0024
Passenger

1 Posts

Posted - 03/31/2006 :  2:23:47 PM  Show Profile  Reply with Quote
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  Show Profile  Visit zwemkec's Homepage  Reply with Quote
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
%>
Go to Top of Page

scarab
Forum Admin

USA
413 Posts

Posted - 04/07/2006 :  07:53:44 AM  Show Profile  Visit scarab's Homepage  Reply with Quote
Was ist denn los here?

Andy Spliethof
ASPilot
www.ASPilot.com
A division of Spliethof, Inc.
Go to Top of Page

scarab
Forum Admin

USA
413 Posts

Posted - 04/07/2006 :  07:58:24 AM  Show Profile  Visit scarab's Homepage  Reply with Quote
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.
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
PilotCart Support Forum © 2008 Spliethof Inc dba PilotCart.com Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06