Hi all,
maybe this has been asked before but isn't Total Commander the perfect tool for creating soft/junction links?
It's a real pain having to open a command prompt and getting the perfect syntax to create a link from one directory to another.
Maybe one for a future update Christian?
Steve
TC for to create Soft/Junction Links?
Moderators: Hacker, petermad, Stefan2, white
-
- Member
- Posts: 107
- Joined: 2007-02-07, 07:41 UTC
Re: Soft/Junction Links?
2harrismail
You could check out my Extended Menus (see my signatiure) - it has options under "Misc" to make various junctions, symlinks and hardlinks (using mklink) - https://madsenworld.dk/tcmd/miscmenu.png
You could check out my Extended Menus (see my signatiure) - it has options under "Misc" to make various junctions, symlinks and hardlinks (using mklink) - https://madsenworld.dk/tcmd/miscmenu.png
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Member
- Posts: 107
- Joined: 2007-02-07, 07:41 UTC
Re: Soft/Junction Links?
Now that looks very interesting - I shall give it a whirl.
Thanks!
Thanks!
Re: TC for to create Soft/Junction Links?
There is also NTFSLinks and NTLinksMaker which can be put on a button or TC's start menu. And there are NTLinks and NL_Info to view information about junctions and symlinks, e.g. in custom columns.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
-
- Member
- Posts: 107
- Joined: 2007-02-07, 07:41 UTC
Re: TC for to create Soft/Junction Links?
Brilliant - many thanks to both of you, that's sorted things out nicely.
Regards
Steve
Regards
Steve
Re: TC for to create Soft/Junction Links?
Using @petermad menu (clever called commands), I've create 2 buttons.
On a selected file/folder (under cursor) :
* 1st button to create either folder junction or file hardlink (no Admin rights needed) on opposite panel
* 2nd button to create folder/file Symlink (needs Admin rights) on opposite panel
Note: that I've added a ".hrd/.jnk/.sym" extension to the "link" created (my way to quickly identify it)
Note: there is no check whether the source or the destination exists...
Make Folder Junction or File Hardlink in Opposite Panel (Not on Network/No Admin rights):
Make Folder or File Symlink in Opposite Panel (needs Admin rights):
On a selected file/folder (under cursor) :
* 1st button to create either folder junction or file hardlink (no Admin rights needed) on opposite panel
* 2nd button to create folder/file Symlink (needs Admin rights) on opposite panel
Note: that I've added a ".hrd/.jnk/.sym" extension to the "link" created (my way to quickly identify it)
Note: there is no check whether the source or the destination exists...
Make Folder Junction or File Hardlink in Opposite Panel (Not on Network/No Admin rights):
Code: Select all
TOTALCMD#BAR#DATA
%COMSPEC% /C
if not exist %P%N\* (mklink /H "%T%O.hrd.%E" %P%N) else (mklink /J %T%N.jnk %P%N)
%COMMANDER_EXE%,12
Make Folder Junction or File Hardlink in Opposite Panel (Not on Network/No Admin rights)
%SYSTEMDRIVE%\
1
-1
Code: Select all
TOTALCMD#BAR#DATA
*%COMSPEC% /C
if not exist %P%N\* (mklink "%T%O.sym.%E" %P%N) else (mklink /D %T%N.sym %P%N)
%COMMANDER_EXE%,12
Make Folder or File Symlink in Opposite Panel (needs Admin rights)
%SYSTEMDRIVE%\
1
-1
Longue vie a TC... déjà + de 20 ans de bons et loyaux services chez moi !