I reference question ID:22457941.
I have the same issue when I attempt to use JPSOFT TakeCommand instead of a Batch file.
I want something that is not so ugly to present to the user a choice of starting two spplications.
I have written a rather crude cmd file (see snippet of it below)
This works and does what I desire.
This server is NOT in a domain. There are only 8 or 10 users that require this so editing their environment works. It is a server that is remote hostyed running their accounting application.
I would love a sample of a VBscript that would give me a prompt with a choice for the user preferably to click one of two icons for application A or B and possibly a cancel as well.
Thanks very much
mode con cols=60
mode con lines=10
CHOICE /C 52 /M "Press 5 for Navision5, 2 for Navision2
if errorlevel 255 notepad.exe
if errorlevel 2 goto nav2
if errorlevel 1 goto nav5
start "test" "C:\Program Files\Microsoft Dynamics NAV\CSIDE Client\fin.exe" servername=DDFnav5server
start "test" "C:\Program Files\Navision Financials\fin.exe" servername=navserver