Page 1 of 1

Change IDE history for multiple versions?

Posted: Mon Feb 23, 2026 7:50 pm
by minimy
I have a question that is surely stupid, but he who does not ask does not learn.
I use PB6.02 a lot for compatibility with my old mac (Catalina). When I open PB6.02 or PB6.4 it loads the listings I am using in the IDE.
Is there a way for 6.02 to charge some and 6.40 to charge others?.
I explain: I am using Windows and each PB is in a different folder but they share the IDE files. Could you change the route of the IDE history?
Is posible?

As i said, stupid ask... :lol:
Thanks for the help.

Re: Change IDE history for multiple versions?

Posted: Mon Feb 23, 2026 9:06 pm
by HeX0R
Start your IDEs with parameter /PORTABLE

Re: Change IDE history for multiple versions?

Posted: Mon Feb 23, 2026 9:09 pm
by spikey
The /H parameter allows you to set a specific location for the history file. (If you don't want everything to go /PORTABLE).

Re: Change IDE history for multiple versions?

Posted: Mon Feb 23, 2026 9:20 pm
by minimy
Wow! really good!
I didn't know if it could be done, I thought some parameter would have to be changed in some file.
Both solutions are very good.
Thank you very much for the help.

Re: Change IDE history for multiple versions?

Posted: Mon Feb 23, 2026 9:21 pm
by HeX0R
I don't think he really meant the history, to me it sounds more as if he was talking about source files which are open at start.

When you want your different IDEs to share your tools, templates and session history, you can also do it like this:
/PORTABLE /T "%APPDATA%\PureBasic\Templates.prefs" /A "%APPDATA%\PureBasic\tools.prefs" /H "%APPDATA%\PureBasic\history.db"

That's what I am using (besides session history, I don't use that)