Yes definitely u can do that...
Just use the call shell() function of
VB.
Using the I/O write a small batch file containing the
rsh commands and pass that batch file name inthe call shell("batch file xx",1)
It will be run
e.g
Call Shell("D:\HOM\FCISOURCE\FCI.bat", 1)
the FCI.bat looks like
rsh 97.241.94.226 -l rajib -n /omp/bin/DBsurvey -i /home/jlizama/QUERY.txt -o /home/rajib/fciall.xls
...
I hope u got the idea