title: How to save time for using plink in VBA
body: <p>My VBA codes below shows the template about how to control my host via plink</p>
  
  <pre><code>Set wsh = VBA.CreateObject("WScript.Shell")  
  for i = 1 to 1000
     wsh.Run("cmd.exe /c plink -ssh 192.168.100.xx -l root -pw xxxx command", 0, True)
     Sleep 1000
  next i
  </code></pre>
  
  <p>If I have to get information from host via plink.exe every second, it is necessary to execute "wsh.Run("cmd.exe /c plink -ssh 192.168.100.xx -l root -pw xxxx command", 0, True)" every time, which wastes time in opening shell and  executing plink.exe and then close it all each round. Is there a way to save the time, which means that to open shell and execute plink.exe once and keep plink.exe listening my command until loop ends?</p>