Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I create a file by url extension and type following text into in(its url is sample):

[Internet Shortcut]
URL=http://en.wikipedia.org/wiki/WebDAV

In some case i gettin this error:"The Target "" of this Internet Shortcut is not valid. Go to the internet shortcut property sheet and make sure the target is correct." (for sample if in path or name of target file exist space character)

my default browser in Firefox. I want have a internet shortcut that open in all browser and on al os. What can I fixed it problem?

(Sorry if I am using the wrong terminology or grammar, I am self taught english language)

share|improve this question
1  
Try replacing the space with %20. –  Oliver Salzburg Apr 10 '12 at 10:12
    
@OliverSalzburg I do your suggestion but I still getting previous error . –  MJM Apr 10 '12 at 10:46
    
Please give an example of a URL that does not work. URL encoding is all that should be required to make it work. –  Oliver Salzburg Apr 10 '12 at 10:53
    
@OliverSalzburg I wrote it in original my question. It is en.wikipedia.org/wiki/WebDAV –  MJM Apr 10 '12 at 11:43

3 Answers 3

up vote 2 down vote accepted

You may find it easier to create the "Internet Short-cut" file by visiting the website using your browser and then dragging the symbol to the left of the URL from the browser onto the desktop.

You can then view the resulting .url file to see the correct formulation or rename or move the file to another directory/folder as needed.

share|improve this answer
    
You're right, this approach worked but I want know :What my way don't worked. –  MJM Apr 10 '12 at 11:46
    
The file is cached, so when you edited your file to fix the typo, you were still getting the old cached-typo link. See my comment in othe answer. –  jdh Apr 10 '12 at 14:13

Typo in the section keyword, there is no space. It's just one word "InternetShortcut", not "Internet Shortcut".

You can view the syntax of other sections and keywords of this file type, by dragging a shortcut from your browser to your desktop, and then viewing that shortcut as a text file. Here's what google.url looks like:

[DEFAULT]
BASEURL=http://www.google.com/
[InternetShortcut]
URL=http://www.google.com/
IDList=
IconFile=http://www.google.com/favicon.ico
IconIndex=1
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2

And here's what each field means: guide to url file format

share|improve this answer
    
I remove space between Internet and Shortcut,but still getting error. –  MJM Apr 10 '12 at 11:41
    
When I tried this, its seemed as if the url shortcut was being cached - so editing/saving/click on shortcut, would not work either. Instead, I had to save the edited file to a new filename (or maybe clear cache would work.) Then it worked ok. You can verify this by changing the URL destination, and see that clicking on the .url file still will go to the old destination. –  jdh Apr 10 '12 at 14:11

I had the same error message. Eventually figured out since I had switched domains and moved contents from an old profile to a new one, the permissions were applying for that user on the old domain and not the new one. Was clued in to this by being able to open the .URL files in her Favorites as a local admin, but not her.

Had to open up properties of Favorites and do Security -> Advanced -> Replace permissions...

This was on an XP machine, so I figured a similar Vista KB recommendation didn't necessarily apply!

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.