Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6291
  • Last Modified:

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.

0
rewerbe
Asked:
rewerbe
  • 4
  • 3
1 Solution
 
LeeTutorretiredCommented:
You'll probably have to go into the registry and edit it there.  I don't use Outlook, but I have the following in the registry at this key:

HKEY_CLASSES_ROOT\xnkfile\shell\Open\command
(default)  REG_SZ  "C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE" /x "%1"

Not certain whether this is the correct value for you, but you can try it.
0
 
LeeTutorretiredCommented:
rewerbe, any feedback?
0
 
rewerbeAuthor Commented:
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.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
rewerbeAuthor Commented:
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?

0
 
LeeTutorretiredCommented:
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.
0
 
rewerbeAuthor Commented:
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.
0
 
tryagianCommented:
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.
0
 
rewerbeAuthor Commented:


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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now