To do that, i use a specific PureBasic.prefs for each case, i've changed "DefaultProject = " inside for each PureBasic.prefs with the correct one.
For example
Code: Select all
RunProgram("Purebasic.exe",
"/P C:\Users\user\AppData\Roaming\PureBasic\PIM\PIM_PureBasic.prefs /A C:\Users\user\AppData\Roaming\PureBasic\PIM\PIM_Tools.prefs",
"G:\PureBasic\PureBasic_5_70_x86")
Code: Select all
[Projects]
;
DefaultProject = G:\PureBasic\PureIconManager.pbp
Is there a way to load/close a project in command-line without changing each PureBasic.prefs when the ide opens ?