How create symbolic link in TC6?

English support forum

Moderators: white, Hacker, petermad, Stefan2

LamboR
Junior Member
Junior Member
Posts: 3
Joined: 2003-11-25, 11:01 UTC

How create symbolic link in TC6?

Post by *LamboR »

How create symbolic link in TC6 as in Far (Alt+F6)?
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2LamboR

You can create a shortcut using cm_CreateShortcut. The default hotkey for this command is Ctrl+Shift+F5.
LamboR
Junior Member
Junior Member
Posts: 3
Joined: 2003-11-25, 11:01 UTC

Post by *LamboR »

2 Lefteous
No, Ctrl+Shift+F5 - create a shortcut (it file *.lnk). I want create link using NTFS.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Lefteous

Sorry I always thought a shell link (*.lnk-file) is the same as a symbolic link in the Unix world, but you are right it's not the same. I can't see a difference in their behavior but a symbolic link appears as a directory and a shell link is always a file. Symbolic links can only link to directories.
Can you give some more informations on symbolic links in windows. Is there a windows command line to create symbolic links?
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Can you give some more informations on symbolic links in windows. Is there a windows command line to create symbolic links?
fsutil hardlink create NewFilename ExistingFilename
Press Win+F1, and search for hardlink.
Symbolic links can only link to directories
No, what you mean is subst maybe.
I switched to Linux, bye and thanks for all the fish!
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2SanskritFritz

No, we are not talking about hard links or subst. What I discribed was the behavior of Alt+F6 in FAR. Just try it.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

No, we are not talking about hard links or subst. What I discribed was the behavior of Alt+F6 in FAR. Just try it.
Dont have FAR, but a sybmolic link is a hardlink. I guess. Is there a difference?
I switched to Linux, bye and thanks for all the fish!
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2SanskritFritz
Dont have FAR
http://www.rarsoft.com/far/Far1705.exe
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

We're getting off topic here...
I switched to Linux, bye and thanks for all the fish!
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2SanskritFritz

off topic? downloading FAR and testing the "create symbolic links feature" helped me to understand the meaning of symbolic links.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

downloading FAR and testing the creating symbolic links helped me to understand the meaning of symbolic links.
Explain please, as I understand now, symbolic links and hard links are different? If yes, then a symbolic link is a junction point in windows terminology. You said it can be applied only to directories.
I switched to Linux, bye and thanks for all the fish!
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2SanskritFritz

No, it's not a junction point! It's something I have never seen before. As decribed above:

1. It behaves similar to a lnk file. Deleting the "symbolic link directory" will not delete the associated directory. Double click will open the contents of the associated folder in TC filelist window
2. Can only be applied to directories.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

This sounds exactly like a junction point ;-)
I switched to Linux, bye and thanks for all the fish!
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2SanskritFritz

Tell me how to create the thing that you call "junction point" and I will tell you if that is the same thing as the symbolic link.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I switched to Linux, bye and thanks for all the fish!
Post Reply