I would like to change a file association in Windows 7. I want to set the file to open with Google Chrome, however I want to pass through the
-incognito flag to the exe so it defaults to incognito mode.
When I try to pass through the path to chrome
I get a File not found error.
I also tried creating a shortcut to the chrome.exe and setting the path to use incognito. This works if I execute the shortcut directly, however when I point the file association to the shortcut it still opens the file in an already opened (not incognito) chrome window.
How can I go about forcing a file association to use GC incognito?
I tried changing the file association using
assoc I found the information here
It also did not work. I think the issue is that, if chrome is already open. It will default to the already open chrome rather than open in incognito. I would like to set specific file types such as
The file types now correctly have the
--incognito flag associated to them, however don't open in an incognito window...even if all chrome windows are closed.
I tried duplicating the
chrome.exe, renaming it and having the shortcut point to that with the flags instead. It seems the file properties showing that the original file is
chrome.exe makes it continue to associate the files to the original.