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: sheep, Hacker, Stefan2, white

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 » 2019-04-17, 03:30 UTC

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: 8403
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV » 2019-04-23, 14:19 UTC

Sorry, it doesn't calculate folder sizes, it just reads file size field from MFT record.

User avatar
Tichij
Junior Member
Junior Member
Posts: 23
Joined: 2011-02-22, 12:33 UTC
Location: Lithuania

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *Tichij » 2019-07-17, 05:31 UTC

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 9.22a 32 + 64bit

User avatar
MVV
Power Member
Power Member
Posts: 8403
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV » 2019-07-17, 06:00 UTC

Thank you for the notice, I've updated packages at wincmd.ru/totalcmd.net.

User avatar
petermad
Power Member
Power Member
Posts: 8965
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *petermad » 2019-07-19, 21:22 UTC

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 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
MVV
Power Member
Power Member
Posts: 8403
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV » 2019-07-22, 11:04 UTC

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 » 2019-07-31, 10:42 UTC

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: 8965
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *petermad » 2019-07-31, 14:19 UTC

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 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
MVV
Power Member
Power Member
Posts: 8403
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV » 2019-07-31, 19:49 UTC

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 » 2019-08-02, 18:43 UTC

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: 17
Joined: 2018-02-26, 10:30 UTC

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *rt2ryu » 2019-09-06, 12:36 UTC

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: 8403
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: NTLinks + NTLinksMaker: NTFS links creation and information

Post by *MVV » 2019-09-09, 08:15 UTC

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.

Post Reply