Quite interesting! Thanks for sharing!
a) I just experimented & this works:
b) Was interested to use relative paths but they fail.. any ideas?
c) Was a little more adventurous... tried these & other permutations too
but obviously didn't work :) :
On 2011-11-02 00:44, Earnie wrote:
> Since I had to figure this out with little help from Google and
> Microsoft, what I did find was old and out-of-date, I thought I would
> share this tidbit of knowledge. Files that end in .url on your desktop
> are typically created when your drag a URL from your browser to your
> desktop. They are known as "Internet Shortcut" files. Unlike their
> .lnk cousins which are binary object files the .url files are purely a
> text INI style file so they can easily be created from a batch or script
> file. You can use these open an executable file similar to the
> following example for MSYS. The example file name is MSYS.url. The
> location of the file is "%USERPROFILE%\Desktop" if it is only for the
> current user or "%ALLUSERSPROFILE%\Desktop" if it is for all users. The
> name of the file reflects the description property of the file so for
> visual effects mind the capitalization and spacing of the file name.