[SOLVED] Shared Roaming Folder is a Problem

Just starting out? Need help? Post your questions and find answers here.
Randy Walker
Addict
Addict
Posts: 1058
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Shared Roaming Folder is a Problem

Post by Randy Walker »

spikey wrote: Tue Jun 10, 2025 9:03 pm
Randy Walker wrote: Mon Jun 09, 2025 10:13 pm Works great!! THANKS!!!!
You're welcome! :)
Randy Walker wrote: Mon Jun 09, 2025 10:13 pm ...just seems to break history.
Yes, it will for the same 'read only' problem I mentioned above. /LOCAL will only work if the files are writeable in the IDE's parent folder. This is not true when the IDE is installed to one of the "Program Files" folders.

You can resolve this by using the /H switch and specifying a unique path for each IDE version history file, for example:

Code: Select all

/H D:\PureBasic\PB_prjct-540\Conf\history.db
This will cause each IDE to create its own new empty history.db file in the Conf folders too. However, be aware that doing so will disconnect ALL the IDE's from the current history database content. It depends how reliant you are on the history content, if this is something you would want to do or not.
All good stuff. Thanks spikey!!
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy Walker
Addict
Addict
Posts: 1058
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Shared Roaming Folder is a Problem

Post by Randy Walker »

AZJIO wrote: Sun Jun 08, 2025 4:38 pm

Code: Select all

C:\PB\PureBasic\PureBasic_x64\PureBasic.exe /P "C:\PB\conf\PureBasic.prefs" /T "C:\PB\conf\Templates.prefs" /A "C:\PB\conf\Tools.prefs" /H "C:\PB\conf\History.db"
I found my solution to the tools.prefs file. I created new text file on the desktop, renamed it tools.prefs, moved it to my program files\purebasic folder and went into properties for that file to change security to allow all users. Then the IDE was able to write to that file and replace it with my preferred settings
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Post Reply