"Cannot open file" error when open .xnk Link with Outlook 2007

There is some issue occur when you try to open a link to a Microsoft Exchange Server public folder which has .xnk file name extension in Microsoft Office Outlook 2007. These error are "Cannot open file" and "The command line argument is not valid. Verify the switch you are using. Mainly these problem issue occur when additional security in Outlook 2007. By default, Outlook 2007 denies access to these files.


Warning: This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. Use this workaround at your own risk.

To solve this types of issue by create a link associated between the .xnk file name extension and Microsoft Outlook 2007.

To do this, follow these steps:

1. Click Start, click Run, type Explorer in the Open box, and then click OK.

2. On the Tools menu, click Folder Options.

3. In the Folder Options dialog box, click the File Types tab, and then click New.

4. In the Create New Extensions dialog box, type xnk in the File Extension box, and then click OK.

5. Click to select XNK under Registered file types, and then click Advanced.

5. In the Edit File Type dialog box, type XNK next to the icon, and then click New.

6. In the New Action dialog box, type OPEN for Action, and then type the following text under Application used to perform action: "DriveLetter:\path\Outlook.exe" /x "%1"

Note By default, the path of the Outlook.exe file is as follows: "C:\Program Files\Microsoft Office\OFFICE12\Outlook.exe" /x "%1"

7. Click OK twice.

8. Click Close.

Important You should open or download only those .xnk files that are sent by a known source.


Alec said...

I am suffering from the same problem with .xnk files. I get three files generated evrry time I start my computer (vista 64 with office 2007.) I fixed the file type issue and now Outlook opens the files as an email, one each from contacts, calender and mail. Every time I start the system I have to delete these messsages and answer the associated "are you sure" question. It is very irritating. I have looked all over the internet but I cannot find any indication of where these messages come from. My wife has an almost identical sysyem (different HP model) and she has no problems like this. I would appreciate anyone helping me with the origin of these files

Regards Alec

Alex said...

Yesterday I wrote the letter in MS Outlook on Windows XP,but next day I added in the same letter some sentences and something happened...And my data were lost.I didn't know what to do.But my familiar told me about nice tool-outlook express email problems.It is free as he said,moreover program helped me in one minute.It can so export repaired messages to separate files of eml format.

Alex said...

I'm always having problems with my emails. But yesterday happened a good event,I found in the Internet a next tool - outlook dbx extractor. The tool solved my problem for minutes and free of charge as far as I know. Besides the tool showed me one of its possibilities such as: repairs mailboxes in Outlook Express format and extracts emails, when it is possible.

Mike said...

I am a Microsoft Outlook user. Few days ago, I got an error in outlook. I was unable to open outlook. I tried Inbox repair tool to fix outlook file, but it could not help me. After that I contacted with Repair Outlook PST file. They are Outlook pst expert, they repaired my pst file.

Alexis said...

This morning I have been at my friend's house. And he told me about his problems,but one of its was the great. Exacter his emails were lost and he didn't know what to do. And then I recommended him - viewer .pst file. He thanked me a lot and presented me a bottle of beer)).