|
Hi chandraachii,
There is no simple way of doing what you want from a DOS batch script.
It will be significantly easier for you to install a more powerfull command line interpreter (say bash) and script it up from there. Cygwin might be a good bet for this as it will also provide a full environment including binaries such as ssh for connecting to your hosts.
Hope this helps,
Craig
|