You seem to be asking for a script which will start the db if it is not already running and then launch a session that connects to that db.
Is that correct?
You could do that with a Windows .BAT file and point a shortcut to it easily enough. You would need to decide how to handle error conditions like a crashed db that leaves a .lk file hanging around.
I'm not much of a windows .BAT file programmer and I would never actually do things this way so a code example from me is questionable but something like this ought to be a start:
Code:
@ echo off
cd \db10
call proserve -pf sports2000srv.pf
call probiw sports2000
cal proapw sports2000
call mpro sports2000.pf