windows - Setting the --user-data-dir for opening PDF files with Chrome
2013-12
In Chrome I have used a custom profile folder at C:\Pocket\Chrome
. Whenever I open Chrome, I use the path C:\Users\Joseph\AppData\Local\Google\Chrome\Application\chrome.exe --user-data-dir=c:\pocket\chrome
so everything is fine.
However the problem is that whenever I open a PDF file (Chrome is my default PDF viewer), it doesn't use the extension --user-data-dir=c:\pocket\chrome
so it becomes the "default profile". (Now this is obvious since Chrome open PDF files in "tabs" and If I Ctrl + N it will show the homepage of the "default profile", verifying that it's not using my targeted profile)
I was wondering how do I fix this problem?
==
Windows Vista Home Premium SP 2
I will keep the instructions below for reference.
Windows XP
My Windows is not set to English, so the interface controls can be a bit different.
- Open Folder Options (should be in the Control Panel or in My Computer)
- Select the File Types tab
- Select the PDF extension and click Advanced
- Select the Open action and click Edit...
- Set the application field to
C:\Users\Joseph\AppData\Local\Google\Chrome\Application\Chrome.exe --user-data-dir=C:\Pocket\Chrome "%1"
Windows 7
- Open the Windows Registry Editor (Win+R →
RegEdit
) - Go to
HKEY_CLASSES_ROOT\.pdf
. If the(Default)
value has any data set, go to the key specified in there. - Change the data of the
(Default)
value in theshell\open\command
subkey toC:\Users\Joseph\AppData\Local\Google\Chrome\Application\Chrome.exe --user-data-dir=C:\Pocket\Chrome "%1"
I'm behind a proxy at work, and Google Chrome insists on downloading Google search results pages instead of displaying them.
Whether I try to search from the address bar, from google.com, or from a third-party site that has a Google search form, what ends up happening is that the search results page ends up as a downloaded file called "search" in my downloads directory.
I haven't seen this happen with any other search pages. Yahoo! Search, for example, works fine.
Has anyone run into this before and/or has any ideas on how to fix it or what might be causing it?
I'd try the Chrome support pages, but they're blocked by the proxy...
Sounds like the proxy isn't configured correctly. It's probably something that your sysadmin will need to look at. I assume IE and FF work correctly?