Junction / Symlink Support

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
talsit
Junior Member
Junior Member
Posts: 2
Joined: 2022-12-14, 23:41 UTC

Junction / Symlink Support

Post by *talsit »

I have been a long-time user of wincmd/totalcmd (since I was sent my copy via floppy!), and I cannot (will not?) imagine a computer without it.

I have only recently came across wide-spread use of "junctions" within my windows install (used extensively for nVidia's Omniverse SDK), and I'm having some issues with TC and them.

I have a basic folder structure like this:

Code: Select all

+---c:\user\code\kit_00
    +---app -> [c:\other\install]
    +---exts
    +---tools
Where that "app" is a junction to a different folder on my drive. If I want to move that "c:\user\code\kit_00" elsewhere, TC will MOVE the entire "app" directory instead of moving just the "junction". That is, if I move "c:\user\code\kit_00" to "c:\other\kit_00", then that "app" directory will also be moved and it will no longer be in "c:\other\install". So the result is this:

Code: Select all

+---c:\other\kit_00
    +---app
    +---exts
    +---tools
And "c:\other\install" is empty.

I can't imagine this ever been the intented outcome for this system. Is there a way to treat junctions as they are?
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Junction / Symlink Support

Post by *white »

talsit wrote: 2022-12-14, 23:53 UTC Is there a way to treat junctions as they are?
Have you tried searching the Help for "junctions"?
Help - Ini File Settings part 1: Configuration A-M wrote: CopyLinks=0
Copy file system links (junctions) as links and not as directories:
0: Copy links as dirs or ignore them (if IgnoreLinks has been set)
1: Copy links without changing the target path of the links
2: Copy links and change the target path to the target drive if the link points to the same drive on which the link itself is located.
Example:
c:\path1\link, pointing to c:\path1\path2\linktarget
Copied to d:\trgpath1\trgpath2\link
-> Link now points to d:\trgpath1\trgpath2\path2\linktarget
Note: The function does NOT check whether the target of the link exists or not.
talsit
Junior Member
Junior Member
Posts: 2
Joined: 2022-12-14, 23:41 UTC

Re: Junction / Symlink Support

Post by *talsit »

Have you tried searching the Help for "junctions"?
Yes, I did, but I admit that my search abilities suck, and I did mainly searched the web, which made me find this forums.

Thank you for the help and showing me where to find it, I appreciate it.
Post Reply