Skip to content

/inifile won't work with root directory #2635

Closed
@Mr-KoKa

Description

@Mr-KoKa

Version 2.16.46.0
When I run:
C:\Program Files\WinMerge>WinMergeU.exe /inifile D:\dir\profile.ini
Directory and file is created, and at consecutive launches file is loaded.

When I run:
C:\Program Files\WinMerge>WinMergeU.exe /inifile D:\profile.ini File is not being created, if file already exists (for example copied from D:\dir\profile.ini) it won't be loaded, I can notice that WinMerge loads settings from registry.

I was testing loading existing ini files by changing Files\Right/Item_0= to something noticeably different than my defaults for example Files\Right/Item_0=E:\_APPS\TestingTesting and it loads ok from D:\dir\profile.ini but not from D:\profile.ini

It is not a problem for me now that I know about this behaviour, but at first I was fiddling with /inifile T:\winmerge.ini and I could not figure out why it does not work and if the file will be created or should I create empty file or file already filled with options. So maybe it would be worth mentioning in the help files that specified path will be created with the ini file itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions