VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   scripting (https://forums.vandyke.com/showthread.php?t=14045)

ddsrakesh 01-17-2020 08:58 PM

scripting
 
Sub Button1_Click()
Dim host, Username, Password As String
Dim IPAddress As Integer
Dim Port As Integer

host = Sheets("Sheet1").Cells(3, 2)
Username = Sheets("Sheet2").Cells(3, 2)
IPAddress = Sheets("Sheet1").ActiveCell


Shell "D:\SecureCRT_VBS\SecureCRT\SecureCRT.exe /N "host" /T /SSH2 /P 22 "IPAddress" /L "Username" /PASSWORD "Password""


End Sub

above script not working

bgagnon 01-20-2020 07:23 AM

Hi ddsrakesh,

What do you mean by "does not work"?

Do you get an error? If so, what is it?

What is "Shell"? It is not defined anywhere.

Is the SecureCRT.exe really on the D:\ drive in that location?


All times are GMT -6. The time now is 02:46 AM.