Hi
There are more than 3000 Articles about Version - so I ask instead of reading them all
I need to run 3 different versions of PB (4.61 5.11 5.31) because in each I have added different UserLibs which do not work in later PB Versions and the software of that time does not compile with the newer versions also.
What I do not need is, that each time I change the version ... history and all settings are written into the same folder and the old setting are destoyed.
C:\Users\[Computername]\AppData\Roaming\PureBasic\PureBasic.prefs
C:\Users\[Computername]\AppData\Roaming\PureBasic\Templates.prefs
C:\Users\[Computername]\AppData\Roaming\PureBasic\Tools.prefs
etc.
Is there a way to tell PB to write settings (prefs) to different folders for each version without always copying, deleting and renaming folders before starting and after finishing work with another version?
Thanks in advance
Different PB Versions - different Folders for settings?
Different PB Versions - different Folders for settings?
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Re: Different PB Versions - different Folders for settings?
See the cmdline options in helpfile, for example: /LOCAL
You should add the cmdline options to the shortcut to your pb version.
You should add the cmdline options to the shortcut to your pb version.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Different PB Versions - different Folders for settings?
Create shortcuts using /portable.
C:\PureBasic\PureBasic.exe /portable
C:\PureBasic531\PureBasic.exe /portable
C:\PureBasic\PureBasic.exe /portable
C:\PureBasic531\PureBasic.exe /portable
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Different PB Versions - different Folders for settings?
Wow, that was quick
Thanks guys, for the quick answers
R.
Thanks guys, for the quick answers
R.
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Re: Different PB Versions -
Hi again
That works for settings because they are now stored in the base folder of the PB version. That is ok.
But when I have 4.61 open and make a doubleclick on and old PB File it is now opened with 5.31 - what did not happen before ... any idea why?
Although this is at the end of the file
;+
; IDE Options = PureBasic 4.61 (Windows - x86)
; CursorPosition = 5567
; FirstLine = 5542
; Folding = ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
; Markers = 3451,5512
; EnableXP
; UseIcon = Kohle.ico
; Executable = Struktur_151.exe
; DisableDebugger
; CompileSourceDirectory
; Compiler = PureBasic 4.61 (Windows - x86)
; EnableCompileCount = 1054
; EnableBuildCount = 399
That works for settings because they are now stored in the base folder of the PB version. That is ok.
But when I have 4.61 open and make a doubleclick on and old PB File it is now opened with 5.31 - what did not happen before ... any idea why?
Although this is at the end of the file
;+
; IDE Options = PureBasic 4.61 (Windows - x86)
; CursorPosition = 5567
; FirstLine = 5542
; Folding = ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
; Markers = 3451,5512
; EnableXP
; UseIcon = Kohle.ico
; Executable = Struktur_151.exe
; DisableDebugger
; CompileSourceDirectory
; Compiler = PureBasic 4.61 (Windows - x86)
; EnableCompileCount = 1054
; EnableBuildCount = 399
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Re: Different PB Versions - different Folders for settings?
Yeah, the "open with" class settings are assigned to the last install you ran.
Just make specific shortcuts and don't rely on the default case of Windows.
Just make specific shortcuts and don't rely on the default case of Windows.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Different PB Versions - different Folders for settings?
Ok - I will try to figure out what is possible with the commandline options
Thank you
Thank you
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg