Is there a cmdline switch similar to
D:\tools\bc\electrum\prgm\electrum-portable.exe -settings "..\myset\"
Yes,
-D <path> (
case sensitive) will set Electrum to use the specified directory as its datadir.
e.g.:
./electrum-4.5.5.exe -D "./relative_path"
./electrum-4.5.5.exe -D "D:/absolute_path"
It works, but it is not really full portable. All settings are not stored in current Electrum directory but in another user directory:
That may be an old/unrelated datadir created when you launched non-portable Electrum at least once.
Check your executable's name if it actually contains "
portable" (
if you haven't renamed it), renaming the stand-alone executable wont work.
Take note that some of the settings as saved in the wallet file (
per-wallet settings),
then other global settings are in the "
config" file.