Command Window does not allow to change the connection when command-line parameters are used. For instance in command prompt:
"C:\Program Files\PLSQL Developer\PLSQLDev.exe" nosplash userid=Test_577/pwd@LOCAL
Now in PL/SQL Developer Command Window:
SQL> connect Test2/pwd@ADV02;
shows: connected as Test_577 - in LOCAL.
Using log on button on toolbar switches the connection properly.
"C:\Program Files\PLSQL Developer\PLSQLDev.exe" nosplash userid=Test_577/pwd@LOCAL
Now in PL/SQL Developer Command Window:
SQL> connect Test2/pwd@ADV02;
shows: connected as Test_577 - in LOCAL.
Using log on button on toolbar switches the connection properly.