A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Symbolic links



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old May 21st 18, 11:29 AM posted to alt.windows7.general
Fokke Nauta[_4_]
external usenet poster
 
Posts: 587
Default Symbolic links

Hi all,

I have several pc's in our LAN, under which W7 pro 64b. On all pc's I
installed an application to play music. The music files are located on
the server, but each application has its own data catalogue files,
located in C:\Program Files (x86)\xxxxxxxx\Userdata. It has always costs
me some effort to synchronize all the data files.
Recently I discovered the symbolic link. The data files are now stored
on the server in E:\Files\xxxxxxxx\Userdata. The directories in all
other pc's, C:\Program Files (x86)\xxxxxxxx\Userdata, are replaced by a
symbolic link to the Userdata directory on the server.
All applications still think they have their own directory, but they now
share a common directory on the server. All works well and I was
pleasantly surprised by this possibility. Never used it before.
It's easy to create symbolic links and junctions with the utility called
Link Shellextension. You can find it on
http://schinagl.priv.at/nt/hardlinks....html#download.

I thought this might be interesting to share with this group.

Fokke
  #2  
Old May 21st 18, 10:14 PM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Symbolic links

Fokke Nauta wrote:

I have several pc's in our LAN, under which W7 pro 64b. On all pc's I
installed an application to play music. The music files are located on
the server, but each application has its own data catalogue files,
located in C:\Program Files (x86)\xxxxxxxx\Userdata. It has always costs
me some effort to synchronize all the data files.
Recently I discovered the symbolic link. The data files are now stored
on the server in E:\Files\xxxxxxxx\Userdata. The directories in all
other pc's, C:\Program Files (x86)\xxxxxxxx\Userdata, are replaced by a
symbolic link to the Userdata directory on the server.
All applications still think they have their own directory, but they now
share a common directory on the server. All works well and I was
pleasantly surprised by this possibility. Never used it before.
It's easy to create symbolic links and junctions with the utility called
Link Shellextension. You can find it on
http://schinagl.priv.at/nt/hardlinks....html#download.


Windows 7 comes with its own symlink tool: mklink.exe. It is a console
mode program, so no fancy GUI. Use "mklink /?" to get help. See:

https://www.sevenforums.com/tutorial...s-windows.html
https://www.howtogeek.com/howto/1622...dows-or-linux/
https://en.wikipedia.org/wiki/NTFS_reparse_point

Junction (aka reparse points) have been in Windows ever since the NTFS
file system was introduced. However, it was not until Windows 7 when
Microsoft finally added a user-mode tool to manage them. Before that
you had to do it programmatically, or use 3rd party tools, like Juntion
Link Magic by Rekenwonder (pretty old but then so are junction
definitions in NTFS). There are TONS of similar tools.

I'm not sure that Microsoft has yet provided a tool to *find* ALL
junctions. I don't know of one they included in a standard distro of
Windows (but I don't use server editions). Most 3rd party hard/soft
link tools don't scan, either, including your suggestion. For that I
use Nirsoft's NTFSLinksView. Windows itself had made use of junctions
and reparse points for a long time, so there are probably a lot more of
them than you know about. When I scan my Win 7 Home x64 system,
NTFSLinksView found 66429 of which a vast majority were for hard links
(where if you delete the link then you delete the file). When I
disabled the option to include hard links, it found 101 junctions
(directory links) and symbolic links (files). Only 1 is my definition.
  #3  
Old May 23rd 18, 06:48 AM posted to alt.windows7.general
Fokke Nauta[_4_]
external usenet poster
 
Posts: 587
Default Symbolic links

On 21/05/2018 23:14, VanguardLH wrote:
Fokke Nauta wrote:

I have several pc's in our LAN, under which W7 pro 64b. On all pc's I
installed an application to play music. The music files are located on
the server, but each application has its own data catalogue files,
located in C:\Program Files (x86)\xxxxxxxx\Userdata. It has always costs
me some effort to synchronize all the data files.
Recently I discovered the symbolic link. The data files are now stored
on the server in E:\Files\xxxxxxxx\Userdata. The directories in all
other pc's, C:\Program Files (x86)\xxxxxxxx\Userdata, are replaced by a
symbolic link to the Userdata directory on the server.
All applications still think they have their own directory, but they now
share a common directory on the server. All works well and I was
pleasantly surprised by this possibility. Never used it before.
It's easy to create symbolic links and junctions with the utility called
Link Shellextension. You can find it on
http://schinagl.priv.at/nt/hardlinks....html#download.


Windows 7 comes with its own symlink tool: mklink.exe. It is a console
mode program, so no fancy GUI. Use "mklink /?" to get help. See:

https://www.sevenforums.com/tutorial...s-windows.html
https://www.howtogeek.com/howto/1622...dows-or-linux/
https://en.wikipedia.org/wiki/NTFS_reparse_point

Junction (aka reparse points) have been in Windows ever since the NTFS
file system was introduced.


I know but I never used them.

However, it was not until Windows 7 when
Microsoft finally added a user-mode tool to manage them. Before that
you had to do it programmatically, or use 3rd party tools, like Juntion
Link Magic by Rekenwonder (pretty old but then so are junction
definitions in NTFS). There are TONS of similar tools.

I'm not sure that Microsoft has yet provided a tool to *find* ALL
junctions. I don't know of one they included in a standard distro of
Windows (but I don't use server editions). Most 3rd party hard/soft
link tools don't scan, either, including your suggestion. For that I
use Nirsoft's NTFSLinksView.


Thanks. I downloaded this utility.

Windows itself had made use of junctions
and reparse points for a long time, so there are probably a lot more of
them than you know about. When I scan my Win 7 Home x64 system,
NTFSLinksView found 66429 of which a vast majority were for hard links
(where if you delete the link then you delete the file). When I
disabled the option to include hard links, it found 101 junctions
(directory links) and symbolic links (files). Only 1 is my definition.


 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 03:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.