Is there a way to reset the INI file to the default settings for a V6 portable version on a USB stick?.
If I delete the INI file, V6 simply reads the V5 registry settings.
Short of exporting the V5 registry settings, deleting them, running V6, exporting settings to an ini file then importing the V5 registry settings, I can't think of a way. That seems fraught, with the possibility I might corrupt my V5 settings.
Reset settings.
Moderators: fgagnon, nikos, Site Mods
-
nikos
- Site Admin

- Posts: 16344
- Joined: 2002 Feb 07, 15:57
- Location: UK
Re: Reset settings.
instead of an empty INI try to give it some dummy content eg
not sure if that will work but try it
to reset REGISTRY settings without losing the lot see here www.zabkat.com/blog/reset-registry-settings.htm
Code: Select all
[xplorer2_UC]
@=
to reset REGISTRY settings without losing the lot see here www.zabkat.com/blog/reset-registry-settings.htm
-
Gandolf
- Gold Member

- Posts: 575
- Joined: 2004 Jun 12, 10:47
Re: Reset settings.
Thanks, that works, provided I use the "/I" command line option on the link, otherwise V6 picks up the registry settings for V5.
I had already read the blog, but that refers to the registry only. Perhaps you should add "how to set the ini file".
I had already read the blog, but that refers to the registry only. Perhaps you should add "how to set the ini file".
-
nikos
- Site Admin

- Posts: 16344
- Joined: 2002 Feb 07, 15:57
- Location: UK
Re: Reset settings.
it's all about location, where you drop the INI file. If you keep the default name xplorer2 should pick it automatically
-
Gandolf
- Gold Member

- Posts: 575
- Joined: 2004 Jun 12, 10:47
Re: Reset settings.
SHOULD, but it doesn't!!
I have V5 installed "C:\Program Files\zabkat\xplorer2_ult\xplorer2_64.exe" and using the registry "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc".
I extracted the V6 files from the installer (using 7-Zip) to a USB stick "P:\xplorer2_ult 6.0.0.3\".
The ini file is on that stick "P:\xplorer2_ult 6.0.0.3\x2settings.ini".
If the ini file is
The first time I run x² it gets the settings from the registry - I know because V6 opens with V5 tabs, and doesn't quite know what to do with the toolbars.
Once I run V6, save the settings to the ini file, then it will pick up the ini file from the USB stick with or without the /I option.
It's as if V6 (portable) will go for the registry if it can in preference to the ini file. As you know, if I try to run the advanced settings I get the error:
but the registry entry is there "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC".
Confused? I AM
I have V5 installed "C:\Program Files\zabkat\xplorer2_ult\xplorer2_64.exe" and using the registry "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc".
I extracted the V6 files from the installer (using 7-Zip) to a USB stick "P:\xplorer2_ult 6.0.0.3\".
The ini file is on that stick "P:\xplorer2_ult 6.0.0.3\x2settings.ini".
If the ini file is
Code: Select all
[xplorer2_UC]
@=
Once I run V6, save the settings to the ini file, then it will pick up the ini file from the USB stick with or without the /I option.
It's as if V6 (portable) will go for the registry if it can in preference to the ini file. As you know, if I try to run the advanced settings I get the error:
Code: Select all
Cannot find registry information for xplorer2_UC
Please run xplorer2 first
For LITE version settings use /A command line switch
Confused? I AM
-
Gandolf
- Gold Member

- Posts: 575
- Joined: 2004 Jun 12, 10:47
Re: Reset settings.
A suggestion for resetting x².
Rather than naming the key:
"HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC
name it:
"HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC.reset".
That way it will create a new key called "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC.reset" which can be loaded into x² as a new window. Changes can then be made to that window, and saved as whatever name you want.
It appears to work. Any problems that I have missed (there is sure to be something obvious!!).
Rather than naming the key:
"HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC
name it:
"HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC.reset".
That way it will create a new key called "HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC.reset" which can be loaded into x² as a new window. Changes can then be made to that window, and saved as whatever name you want.
It appears to work. Any problems that I have missed (there is sure to be something obvious!!).