Supportnet / Forum / Skripte(PHP,ASP,Perl...)
DFÜ-Netzwerk
Frage
Hallo,
kann mir jemand Tipps geben, wie ich via VBS eine DFÜ-NW Verbindung anwähle, den IE öffne und direkt auf einen FTP-Server landen kann
Antwort 1 von Marcus
Start DFÜ Einwahl
set wshshell = CreateObject("WScript.Shell")
Arbeitsplatz öffnen
wshshell.Run "explorer.exe /select,c:\"
WScript.Sleep 3000
DFÜ-Netzwerk öffnen:
wshshell.SendKeys("DFÜ{ENTER}")
WScript.Sleep 2000
wshshell.SendKeys("Name DFÜ-Verbindung{ENTER}")
WScript.Sleep 2000
wshshell.SendKeys("{ENTER}")
WScript.Sleep 5000
****************************************************************************************************************
set wshshell = CreateObject("WScript.Shell")
WScript.Sleep 5000
set ie4 = CreateObject ("InternetExplorer.Application")
ie4.visible = true
ie4.navigate ("ftp-Pfad")
so was?
set wshshell = CreateObject("WScript.Shell")
Arbeitsplatz öffnen
wshshell.Run "explorer.exe /select,c:\"
WScript.Sleep 3000
DFÜ-Netzwerk öffnen:
wshshell.SendKeys("DFÜ{ENTER}")
WScript.Sleep 2000
wshshell.SendKeys("Name DFÜ-Verbindung{ENTER}")
WScript.Sleep 2000
wshshell.SendKeys("{ENTER}")
WScript.Sleep 5000
****************************************************************************************************************
set wshshell = CreateObject("WScript.Shell")
WScript.Sleep 5000
set ie4 = CreateObject ("InternetExplorer.Application")
ie4.visible = true
ie4.navigate ("ftp-Pfad")
so was?

