All good stuff. Thanks spikey!!spikey wrote: Tue Jun 10, 2025 9:03 pmYou're welcome!
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: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.Code: Select all
/H D:\PureBasic\PB_prjct-540\Conf\history.db
[SOLVED AGAIN] Shared Roaming Folder is a Problem
-
Randy Walker
- Addict

- Posts: 1203
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
- Contact:
Re: Shared Roaming Folder is a Problem
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
Randy Walker
- Addict

- Posts: 1203
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
- Contact:
Re: Shared Roaming Folder is a Problem
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 settingsAZJIO wrote: Sun Jun 08, 2025 4:38 pmCode: 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"
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
Randy Walker
- Addict

- Posts: 1203
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
- Contact:
Re: Shared Roaming Folder is a Problem
You say use -p and the doc you sent me to says /P but does not seem to work for me. The bat file I'm using to launch the IDE and Windows keeps complaining it cant find...#NULL wrote: Sun Jun 08, 2025 4:06 pmCommand-line options for the IDE:linux help wrote:Code: Select all
Options for launching the IDE: -p or --preferences <file> loads/saves all the configuration to/from the given file
https://www.purebasic.com/documentation ... dline.html
My unedited bat file looks like this:
Code: Select all
@echo off
:: Your dedicated PureBasic temp folder
SET "TEMP=D:\PBTemp"
SET "TMP=D:\PBTemp"
:: Launch PureBasic (default installation path)
start "" "C:\Program Files\PureBasic546\PureBasic546.exe"
exit[Window Title]
C:\Program Files\PureBasic546\PureBasic546.exe -p C:\Users\Owner\AppData\Roaming\PureBasic540\PureBasic.prefs
Windows cannot find 'C:\Program Files\PureBasic546\PureBasic546.exe -p C:\Users\Owner\AppData\Roaming\PureBasic540\PureBasic.prefs'. Make sure you typed the name correctly, and then try again.
tried using both -p and /P but error is same.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Re: [SOLVED] Shared Roaming Folder is a Problem
What I quoted was from my local linux help file. If you are on Windows you have to use /P style switches.
Maybe your are using the START command wrong (I'm not really familiar with it though). Put the additional arguments outside the quotes as extra parameters to START. If that doesn't work, maybe try putting "/P" in quotes too.
Maybe your are using the START command wrong (I'm not really familiar with it though). Put the additional arguments outside the quotes as extra parameters to START. If that doesn't work, maybe try putting "/P" in quotes too.
Code: Select all
start "" "C:\Program Files\PureBasic546\PureBasic546.exe" /P "C:\Users\Owner\AppData\Roaming\PureBasic540\PureBasic.prefs"Re: [SOLVED] Shared Roaming Folder is a Problem
/portable should be an option in the native installer.
I have to do this manually for each install to avoid what this thread discusses.
This allows multiple versions and x64 or x86 independent installs without rearranging the registry or kerplunking preferences!
+100 for C:\PBxx\install-here
I have to do this manually for each install to avoid what this thread discusses.
This allows multiple versions and x64 or x86 independent installs without rearranging the registry or kerplunking preferences!
+100 for C:\PBxx\install-here
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
-
Randy Walker
- Addict

- Posts: 1203
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
- Contact:
Re: [SOLVED] Shared Roaming Folder is a Problem
Hi NULL... You were indeed quite correct!#NULL wrote: Fri Jan 23, 2026 4:41 pmCode: Select all
start "" "C:\Program Files\PureBasic546\PureBasic546.exe" /P "C:\Users\Owner\AppData\Roaming\PureBasic540\PureBasic.prefs"
THANKS NULL!!!!!!
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.