View Single Post
Old 02-01-2016, 08:04 PM   #18
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Fbone View Post
Since Copy recognizes it as a file, all the other applications can also. There must be a reason the developers of Dropbox, Google etc block it.
Say rather, that an application can explicitly include code to recognize a .lnk shortcut file, determine the .lnk's destination, and do something with that destination.

It is by no means automatically recognized (so the developers of DropBox, Google, et al. are not evilly blocking it, they just haven't put in the work to special-case those files).
This is a design choice by Microsoft.

...

As I said, on Linux and Mac OSX (both based on unix), there are symlinks instead of shortcuts.
A symlink exists at the filesystem level, a shortcut exists at the OS level.

A symlink is automatically recognized as the destination file by any application code that accesses "files".
A shortcut is a data file which contains a reference to the location of the file it points to, and applications that access "files", see a file with random, useless data.

Windows Explorer has special code which recognizes shortcuts and opens the destination.

...

That being said, Windows has moved on from the XP era, and there are utilities out there that can create links which resemble symlinks more than shortcuts. Those *should* work even for Dropbox.

e.g. see the "mklink" command-line utility that comes preinstalled on Windows Vista and on.

Last edited by eschwartz; 02-01-2016 at 08:15 PM.
eschwartz is offline   Reply With Quote