Passing "Project" to plsqldev

Gary Wong

Member
Hi,

Is there a way to startup the tool with a certain project? I looked at the "Command-line parameters" and saw nothing applicable.

I have several projects (with different logins and different project items), and would like to have Windows shortcut item pass not just my login, but also the relevant project.

Can the "commandfile" call a PL/SQL Developer function to set the project?

Thanks
 
You can simply pass the name of the project file on the command line. For example:

plsqldev.exe u:\projects\deptemp.prj

This is basically what happens if you drop a file on the PL/SQL Developer shortcut.

You may want to prevent the logon screen if the connection is defined within the project file:

plsqldev.exe nologon u:\projects\deptemp.prj
 
Marco,

Thanks for the quick response. I assume that I need to also turn off:
Preferences
-> User Interface
-> Options
- Autosave username, and
- Autosave desktop

Until I did this, PL/SQL Dev would always open up the last opened project, regardless of the project paramater that I passed into it.

Thanks,
gary
 
Back
Top