0

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

fixer1234
  • 28,064
Pacerier
  • 28,143

1 Answers1

0

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+RRegEdit)
  • 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 the shell\open\command subkey to C:\Users\Joseph\AppData\Local\Google\Chrome\Application\Chrome.exe --user-data-dir=C:\Pocket\Chrome "%1"