NTLinks + NTLinksMaker: NTFS links creation and information

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
zloidooraque
Junior Member
Junior Member
Posts: 18
Joined: 2014-06-23, 08:32 UTC

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *zloidooraque »

hi!
does Obj_RealSize work only for files?
i was thinking it will calculate dir sizes as well when TC calculates folder sizes (on space press or smth..)
am i missing something?
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV »

Sorry, it doesn't calculate folder sizes, it just reads file size field from MFT record.
User avatar
Tichij
Junior Member
Junior Member
Posts: 24
Joined: 2011-02-22, 12:33 UTC
Location: Lithuania

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *Tichij »

2MVV,
In "What's new" section (at totalcmd.net and at wincmd.ru) I see that exists 1.4.1.416 (2019-03-12) version of NTLinks Maker, but if I try to download, I always get 1.4.0.402 version. Same thing happens on both sites. How to get the latest version? :?
Thanks.
#49857 Personal licence
Windows 10 Pro 64bit. TC 10.51 32 + 64bit
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV »

Thank you for the notice, I've updated packages at wincmd.ru/totalcmd.net.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *petermad »

Updated Danish translation can be downloaded at http://madsenworld.dk/tcmd/NTLinksMaker_1.4.1.416dan.7z
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV »

Thank you, I've updated it in sources.
tamask
Junior Member
Junior Member
Posts: 2
Joined: 2019-07-31, 10:25 UTC

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *tamask »

Hi,

Sorry if it's a lame question, but could someone tell me how to install and use this plugin? Or even where to look, where to start looking?

I would like to have a simple way of creating directory symbolic links. Like a copying with F5, or something similar.

I've been searching the docs and whatever information is available, but for the life of me I'm just unable to find anything useful. Don't even know where to start or what to look for.

It looks like I've successfully installed "wdx_NTLinks_1.6.0.244", but this is as far as I got, and I'm not even sure that this is what I need. What should I do now?

Any help would be appreciated. Thanks.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *petermad »

2tamask
I would like to have a simple way of creating directory symbolic links
Then it is not the plugin you want but the tool NTLinksMaker at totalcmd.net you need. The plugin is for providing info about links in for example Custom columns.

----------------

You kan also do it without the tool with this button for TC's buttonbar:

Code: Select all

TOTALCMD#BAR#DATA
*%COMSPEC% /K
if not exist "%P" ((echo •) & exit) else if not exist "%T" ((echo •) & exit) else if not exist %P%N\ ((echo The cursor must be on a FOLDER•) & (echo.) & pause) else mklink /D %T%N %P%N
%COMMANDER_EXE%,12
Make SYMLINK in Opposite Panel to Folder Under Cursor
%SYSTEMDRIVE%\

-1
To make the button:
1. Mark the green text above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctri+C).
3. Right click on TC's buttonbar and choose "Paste".

If you rather want junctions in stead of symlinks you can use this button:

Code: Select all

TOTALCMD#BAR#DATA
*%COMSPEC% /K
if not exist "%P" ((echo •) & exit) else if not exist "%T" ((echo •) & exit) else if not exist %P%N\ ((echo The cursor must be on a FOLDER•) & (echo.) & pause) else mklink /J %T%N %P%N
%COMMANDER_EXE%,12
Make JUNCTION in Opposite Panel to Folder Under Cursor (Not on Network)
%SYSTEMDRIVE%\

-1
These buttons does not work inder Windows XP and earlier.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV »

tamask,
As it was said, you need NTLinksMaker tool, and you need to create a buttonbar button then or a user-command (you can assign a shortcut for user-command, e.g. I use Alt+F6 for creating links).

Example of such user-command (trick with /q and /q- is required for disabling error if you focus ".." and start the tool):

Code: Select all

Command: "%COMMANDER_PATH%\Addons\NTLinksMaker\NTLinksMaker.exe" /q
Parameters: /q- /r="%P" "@%WL" "%T"
tamask
Junior Member
Junior Member
Posts: 2
Joined: 2019-07-31, 10:25 UTC

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *tamask »

Awesome, thanks for the help!

I managed to get it working, both the single button and the NTLinksMaker tool.
User avatar
rt2ryu
Junior Member
Junior Member
Posts: 24
Joined: 2018-02-26, 10:30 UTC

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *rt2ryu »

updated:Solved 2019-9-6 20:57:26
I get the beta version NTLinksMaker_1.4.2.430 from the russion https://forum.wincmd.ru/viewtopic.php?t=13191&postdays=0&postorder=asc&&start=495 ,it Solve the question .
Sorry I don't understand the russion, just final to use the translation to guess the meaning on it


The /q will issus an error

I just updated the Ntlinks to NTLinksMaker_1.4.1.416 from 1.2.0.340
I put the Totalcmd and Ntlinks at c:\Program Protable\Totalcmd\Tools\NTLinksMaker\

use the command on the button

Code: Select all

"%COMMANDER_PATH%\Tools\NTLinksMaker\NTLinksMaker64.exe"
/q /b /r="%P" "@%WL" "%T"
it works very well under the 1.2.0.340

but under the 1.4.1.416
if use the

Code: Select all

/q- /b /r="%P" "@%WL" "%T"
it well work right,but replace the \q- to \q it well not got the target path, so it will make the junction under the c:\Program Protable\Totalcmd\Tools\NTLinksMaker\ names like "ᛀȣ" "ະȧ" and so on. I douted the path not got right for the %WL, but as your note the UTF-16 is supported, and try to instead with the %UL to deal as an UTF-8 , it also error.

I try to use the

Code: Select all

/q /b /sd? /r="%P" "@%WL" "%T"
or

Code: Select all

/q /b /sd1 /r="%P" "@%WL" "%T"
to set it as a directory, but no working.

So how to fix the error?
and another question is can add an example for the /l and /s with /r under the Integration with TC??
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV »

Great that you've found latest version and it has the bug fixed. :)
and another question is can add an example for the /l and /s with /r under the Integration with TC??
I use the following usercommand:

Code: Select all

Program: "%COMMANDER_PATH%\Addons\NTLinksMaker\NTLinksMaker.exe" /q
Parameters: /q- /r="%P" "@%WL" "%T\*"
If you want to specify /l or /s, you can just add them e.g. after /r parameter (before positional arguments), e.g.:

Code: Select all

Parameters: /q- /r="%P" /l=3 /s "@%WL" "%T\*"
Since parameters /r, /s and /l are not interconnected, you can mix them in any way.


I'll repost the link to the latest version:

NTLinksMaker Build 430

There were a lot of changes since last announcement, so changes may be found in Readme.
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *dmocha »

Hi,

All the best in New Year!
Polish language version for 1.4.1.416 NTLinksMaker to download from: https://yadi.sk/d/siGkncKZlCs4vg
regards
dmocha
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV »

Thank you, Happy New Year! :)

And thanks for the translation. However I have a question: you have changed "if necessary" to "if possible" for symlink creation, and now your option has a bit different meaning. It is always possible to create a symlink (in case of NTFS target of course), but it is not always possible to create a hardlink, so "if possible" looks incorrect here. Please correct it.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *Usher »

MVV wrote: 2020-01-03, 14:30 UTCyou have changed "if necessary" to "if possible"
Wrong. You are providing lng files with "if possible" also in current version (1.4.2.430, freshly downloaded):
English.lng wrote:22=Relative symbolic links (if possible)
Russian.lng wrote:22=Относительные символические ссылки (по возможности)
Danish.lng wrote:22=Relative Symlinks (hvis muligt)
Chinese, Korean and German files are outdated and don't contain that string.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply