Anthony:
Use Akber's suggestion of exporting the registry keys and then create this batch file (code below).
You'll have to save the registry keys in this directory: C:\SO Config Files\SOconfig_STORE1.reg
Or simply change the code to fit your directory. You can replace 'STORE1' with store names or whatever.
Batch File: (copy/paste/modify in Notepad, save as SO Launch.bat (file type = 'all files').
------------------------------------------ @echo off set server_1_reg_file="C:\SO Config Files\SOconfig_STORE1.reg" set server_2_reg_file="C:\SO Config Files\SOconfig_STORE2.reg" set server_3_reg_file="C:\SO Config Files\SOconfig_STORE3.reg" set server_4_reg_file="C:\SO Config Files\SOconfig_STORE4.reg" echo MS RMS Store Operations Manager Database Chooser echo.
:server1 if exist %server_1_reg_file% goto server2 echo Please enter #1 server information in OPOS Administration Utility and Save echo Press Any Key When Done pause regedit.exe /e %server_1_reg_file% "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Retail Management System\Store Operations\Server\Database\"
:server2 if exist %server_2_reg_file% goto server3 echo Please enter #2 server information in OPOS Administration Utility and Save echo Press Any Key When Done pause regedit.exe /e %server_2_reg_file% "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Retail Management System\Store Operations\Server\Database\"
:server3 if exist %server_3_reg_file% goto server4 echo Please enter #2 server information in OPOS Administration Utility and Save echo Press Any Key When Done pause regedit.exe /e %server_3_reg_file% "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Retail Management System\Store Operations\Server\Database\"
:server4 if exist %server_4_reg_file% goto filesexist echo Please enter #2 server information in OPOS Administration Utility and Save echo Press Any Key When Done pause regedit.exe /e %server_4_reg_file% "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Retail Management System\Store Operations\Server\Database\"
:filesexist echo Please select the database you'd like to use. echo. echo Enter "1" for STORE 1. echo. echo Enter "2" for STORE 2. echo. echo Enter "3" for STORE 3. echo. echo Enter "4" for STORE 4. echo. SET /P server_var="Set Server To #: " if %server_var% EQU 1 ( regedit /s %server_1_reg_file% goto startpos ) if %server_var% EQU 2 ( regedit /s %server_2_reg_file% goto startpos ) if %server_var% EQU 3 ( regedit /s %server_3_reg_file% goto startpos ) if %server_var% EQU 4 ( regedit /s %server_4_reg_file% goto startpos ) echo Please Select a Store. echo. goto filesexist
:startpos START /d "C:\Program Files\Microsoft Retail Management System\Store Operations\" SOMANAGER.exe
------------------------------------------------------
Good luck, Tom