View Single Post
  #5  
Old 01-24-2018, 01:21 PM
mschaafs mschaafs is offline
Registered User
 
Join Date: Oct 2017
Posts: 27
Perfecto!

Hello Eric! That did the trick... and in fact, I just wrapped it in Chr(34) to do the same thing. I had actually done that already with the securecrt_path for another reason, so I had the answer all along. :P
Thank you again for your time and hopefully this helps someone else!

Code:
nResult = objShell.Run( _
        Chr(34) & securecrt_path & Chr(34) & " /SCRIPT " & _
        Chr(34) & script_path & Chr(34)  & _
        " " & arguments & _
        " " & protocol & " /PASSWORD " & Password & _
        " " & Username & "@" & host, 5, True)
Reply With Quote