12-10-2010, 12:41 PM
yes this is possible.
You need to create string (command you want to execute) and then run it by shell command.
Eg:
for each command you need to create seprate commands and then execute them.
You need to create string (command you want to execute) and then run it by shell command.
Eg:
Code:
exeCommand = "C:\putty.exe cd/home UID@Server -pw PWD your unix command"
Set objShell = CreateObject("WScript.Shell")
objShell.Run exeCommand
for each command you need to create seprate commands and then execute them.