Hi, I am not sure if this is the best place to ask this question, but is the closest message board to my problem: I have used some of you tips for scripting a .bat file, so thanks for the help, however I have also combined this with a menu system (not as advanced as it sounds), but I have hit a few issues. The script is below:
@ECHO OFF:STARTCLSECHO ---------------------------------------------ECHO CONNECTRIX MANAGER MENUECHO ---------------------------------------------ECHO 1 - Connectrix Manager and Melville Gate LockECHO 2 - Connectrix Manager and Macmerry LockECHO 3 - ExitECHO ---------------------------------------------:QUERYECHO Please SelectGETKEYIF ERRORLEVEL 57 GOTO QUERYIF ERRORLEVEL 51 GOTO L3IF ERRORLEVEL 50 GOTO L2IF ERRORLEVEL 49 GOTO L1GOTO QUERY:L1cd C:\Program Files\Connectrix Manager 9.5\bin\start CtxMgr_Client.batJ:cd \cd J:\Application Infrastructure Services\Storage Services\Disk\Support\Provisioning\EMC Work Plans\ZoningMelville_Gate_Zoning.xlsGOTO START:L2cd C:\Program Files\Connectrix Manager 9.5\bin\start CtxMgr_Client.batJ:cd \cd J:\Application Infrastructure Services\Storage Services\Disk\Support\Provisioning\EMC Work Plans\ZoningMacmerry_Zoning.xlsGOTO START:L3exitI have a couple of issues: ISSUE 1 - When I select option 1 the two applications open, however the DOS window goes on a loop with the error message: Please Select 'GETKEY' is not recognized as an internal or external command, operable program or batch file. ISSUE 2 - If I select option 1, there have been times when it has not gone on a loop and both applications open. However if I want to select option 2 after that it does not accept any more input to choose option 2 and therefore I have to close the DOS window and re-open. ANY IDEAS? Cheers
Notice from rvalkass:
Please try to use the correct BBCodes where appropriate. List of BBCodes