Submitted by ethanrox on 2016/11/28 05:40
Adding a file with the following options creates a shortcut file in the Database Files folder, BUT the shortcut is named <shortcut>.<linked file extension>, and not <shortcut>.LNK.
It seems like a link in the File Explorer because of icon and in File Properties->Type of File->Shortcut (.lnk), but when the location of the actual file is changed the target does not autoupdate which is the reason behind using links in the first place.
 
 
 
 
 

Comments

I think you should really use the dynamic option to achieve what you want.
Or maybe I'm misunderstanding your question?
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz

ethanrox

2016/11/28 08:22

In reply to by Armando

I've never wrap my head around what the "dynamic" really is.
 
The static works perfectly for me because I like using the URL field as the only link field.
 
Just tested with the "dynamic" - same result.
 
I think the mechanic of keeping the link to the file even when it changes location on the partition is not IQ feature, but a Windows one.

Armando

2016/11/28 08:32

In reply to by ethanrox

[quote=ethanrox]
I think the mechanic of keeping the link to the file even when it changes location on the partition is not IQ feature, but a Windows one.
[/quote]
 
I think Dynamic is just a metaphor describing the result that  case as it is rather static -- concretely.
Yes : it's a Windows feature : ntfs link tracking system. Pierre decided to use that instead of implementing from scratch a long time ago.
Normally it should work well. Unless you don't use Windows, or some really early version. 
 
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz

Hi Ethanrox,
 
It is true that starting v87, the shortcut now includes the file extension. So file Yourfile.txt will have a shortcut Yourfile.txt.lnk. I though this was better because it gives a clue to what type of file it is. I could add this as an option if desired
Regarding the actual shortcut link, when I test it here, it works. i.e. if I move the file, IQ still finds it.
 
Pierre_Admin
IQ Designer
 

ethanrox

2016/11/28 10:34

In reply to by Pierre_Admin

I think it is great to retain the extension + having it as link - best of both worlds.
However in my current Windows Edition (Enterprise 7 64-bit) the link is broken after moving the original item. And this is on Windows level - clicking the .xx.lnk file does not work in the File Explorer.

Pierre_Admin

2016/11/28 10:43

In reply to by ethanrox

Strange... and of course, the target is on an NTFS drive (not FAT) ?
If you create a link manually, it works ?
 
 
Pierre_Admin
IQ Designer
 

ethanrox

2016/11/28 12:24

In reply to by Pierre_Admin

[quote=Pierre_Admin]
Strange... and of course, the target is on an NTFS drive (not FAT) ?
If you create a link manually, it works ?
 
 
Pierre_Admin
IQ Designer
 
[/quote]
 
Just checked, it doesn't - so it is OS issue. This is strange since it has last week and I haven't done anything special to the system.

Armando

2016/11/28 14:34

In reply to by ethanrox

[quote=ethanrox]
[quote=Pierre_Admin]
Strange... and of course, the target is on an NTFS drive (not FAT) ?
If you create a link manually, it works ?
 
 
Pierre_Admin
IQ Designer
 
[/quote]
 
Just checked, it doesn't - so it is OS issue. This is strange since it has last week and I haven't done anything special to the system.
[/quote]
 
Maybe check if the Link Tracking Client (TrkWks) service is on or off. Maybe something turned it off.
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz

ethanrox

2016/11/28 14:43

In reply to by Armando

Thanks, Armando :)
I found the service running at my home machine. Sounds like this is the issue.

Armando

2016/11/28 22:59

In reply to by ethanrox

Most probably! Hopefully... as it's easier to restart a service than to perform deep enquiries in windows registry etc.
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz

ethanrox

2016/11/29 04:50

In reply to by Armando

It worked :) Thanks again.

Armando

2016/11/29 07:36

In reply to by ethanrox

[quote=ethanrox]
It worked :) Thanks again.
[/quote]
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz