Windows Batch script for Unix commands

view story

http://www.unix.com – I wish to create a folder on a unix server B from my windows box using windows batch script. Below is my windows batch script. Code: @ ECHO OFF ::Enter your Directory name: echo Enter your Directory name: set /p mydir= plink user1@ServerA mkdir %mydir% At plink command i get logged on to ServerA and get auto ssh to Unix ServerB. Post auto-login to ServerB the command [mkdir %mydir%] does not get executed on serverB from my Windows batch prompt. I have to manually type the mkdir command from my windows DOS shell inorder for the folder to be created on ServerB. Can you help the m (HowTos)