Link to home
Start Free TrialLog in
Avatar of rewerbe
rewerbe

asked on

cannot open .xnk links in Outlook 2007 on Windows Vista

I am unable to open .xnk files (links to Outlook Public folders sent as attachments) in Outlook 2007 installed on Windows Vista.  When attempted to open, an error message "The command line argument is not valid.  Verify the switch you are using." appears.   Part of the problem is there is no "file types" tab in Win Vista folder options, with an "Advanced" button like there was in Windows XP.  The "Advanced" button allowed one to edit the command line that opened the program that the extension was associated with.

Anyone know how to edit the Windows Vista open file command line, such as was done with Windows XP?  Below is an example of the steps performed for Windows XP:
On the Tools menu, click Folder Options.
b.  On the File Types tab, click URL:MailTo Protocol, and then click Advanced.
c.  Under Actions, click Open, and then click Edit.
d.  If you are running Microsoft Outlook 2002 or Microsoft Office Outlook 2003, type the following text under Application used to perform action:
"C:\Program Files\Microsoft Office\Office10\OUTLOOK.EXE" -c IPM.Note /m "%1"
If you are running Microsoft Office Outlook 2007, type the following text under Application used to perform action:
"C:\Program Files\Microsoft Office\Office10\OUTLOOK.EXE" -c IPM.Note /m "%1"
e.  Click OK two times.

ASKER CERTIFIED SOLUTION
Avatar of LeeTutor
LeeTutor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
rewerbe, any feedback?
Avatar of rewerbe
rewerbe

ASKER

Hi, sorry for the delay.  I have not yet tried your solution.  I am building a machine now and hope to do it soon.  I will report back.
Avatar of rewerbe

ASKER

Thanks much.  After you choose Outlook as the program to open .xnk files through Vista --> Control Panel -->  Default Programs --> Associate a file.. it does add the command HKEY_CLASSES_ROOT\xnkfile\shell\Open\command
(default)  REG_SZ  "C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE" "%1" to the registry, but it is missing the "/x"

Once I added the "/x" switch to make it look like yours, it worked.  Now I am wondering how to have Outlook Web Access open these files, when Outlook is not available.  Perhaps that should be a new question?

Glad the problem was solved.  I think it should be a new question.  I don't have Outlook Web Access available, so I wouldn't be able to help you with that.
Avatar of rewerbe

ASKER

OK, thanks for solving the problem.  For anyone looking at this solution, you would need to change "Office" to either "Office11" or "Office12" in the command line, depending on what version of Outlook you are using.
You may download a free tool at www.digitalsupporttech.com. The tool will tell you what causes the problem. It is also free to get it fixed.
Avatar of rewerbe

ASKER



OK, thanks.  I will try it and report back.