Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I want to have a Windows shortcut file (foo.URL) to be saved for the users, what MIME type should I assign for it?

Default text/plain causes Windows to suggest it to be saved with .txt added as default.

With googling, I've found some alternatives:

  • text/x-uri
  • application/x-desktop
  • application/x-mswinurl

If I've understood right, the types beginning with "x-" are unofficial?

Is there some standard (or de facto standard) mime type to use?

br, Touko

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I ended up using application/octet-stream which seems to work fine for me (at least Windows tries to save it as .URL as such as default and not as .txt as earlier with text/plain)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.