I have created several batch files to facilitate creating, mounting and deleting snapshots on my storage array for backup purposes. The environment variables, authentication and SSH client have been setup on a specific system so that I can enter the storage array CLI commands directly from the dos prompt. The batch files work very well, but I think the way I'm doing it may not be 100% efficient. In my case, I have one batch file for each command. Then, a "main" batch file has the CALL option listed numerous times. So in other words, instead of listing each command in sequence in one batch file, I have to call each command in it's own batch file. I've tried several different times, but if I enter the commands in the same batch file, it simply quits or exits after the first command. I'm sure it's something simple I've overlooked, but I'm no scripting expert (as if you couldn't tell by me mentioning batch files!). Any help or insight would be much appreciated.
Thanks.
Thanks.