There are two persons using my computer, so I made two shortcuts to the application, each one having its own argument "--user-data-dir=""" so that each of users has unique settings.
All was working well, but I was annoyed because the links from external applications (FeedReader, Visual Studio help, Microsoft Word document links) or local HTML files were opened in default Google Chrome installation, therefore not using my folder of preference (which is one of the two above mentioned).
So, I went on to changing the following registry setting:
Computer\HKLM\SOFTWARE\Classes\ChromeHTML\shell\open\command = ""C:\Users\Witchunter\AppData\Local\Google\Chrome\Application\chrome.exe" --user-data-dir="c:\Users\Witchunter\AppData\Local\ChromeUserData\shortcut-1311099461053""
The browser acted weird when I changed this settings, opening but not displaying HTML file, instead showing "New Tab". Each consecutive opening of the file opened another instance of the browser, again with only "New Tab" opened, as if I run it from desktop shortcut.
I tried reverting setting to:
Computer\HKLM\SOFTWARE\Classes\ChromeHTML\shell\open\command = ""C:\Users\Witchunter\AppData\Local\Google\Chrome\Application\chrome.exe"
to no avail. The browser acts as described, the only thing it is not using my settings, but default ones. The operating system is Windows 7 x64.
Had anybody else have this issue? How can I resolve the problem?
I found this question on SuperUser, but it is somewhat old, relevant to Mac and not answered.