NTLinksMaker tool for Total Commander
-------------------------------------
(information in English is below)

   NTFS-  :
+   ,  ,    
+       
+     (    )
+    ,   
+      
+   


1.    NTFS

   -  ,        ,    .   ,      .   (   Windows XP)               . ,   Windows 2000.

   -   ,     .             .  ,           .            ,       .     ,         . ,   Windows 2000.

   - ,    ,      . ,   Windows Vista.

   - ,         .     (  )     (      ). ,   Windows Vista.


2.  

        (   UTF-16),     ,  ,         . :

NTLinksMaker[.exe] [<parameters>] {<src_file>|@<src_list_utf16>} <dst_path>

:
	/l=0
		   -,             .        -.
	/s[?]
		   ,     ,    -  .    /s,       .    /s?,        ,        (,        ).
	/r=<path>
		           .            .
	/b
		       (     ).
	/n
		  ,       (     ,    ).
	/q
		  ,            .   ,   ,     (,   ).


3.  

      ,     ,     (   ,   *   ).
     ,          (.  /r),       (.  /l)    .


4.   

     ,          (           ).      : /q- /b /r="%P" "@%WL" "%T".  ,          /l  /s.        ,      "..",    /q   : "NTLinksMaker.exe" /q.


    : http://forum.wincmd.ru/viewtopic.php?t=13191



NTLinksMaker tool for Total Commander
-------------------------------------
(English section)

Tool for NTFS links creation:
+ supports junctions, hardlinks and symbolic links
+ allows duplicating first levels with regular folders
+ allows keeping directory structure (for objects from multiple dirs)
+ elevation request when admin rights needed
+ supports silent mode w/o any windows
+ full Unicode support


1. NTFS link types

Junctions - pseudo-folders that show contents of some target folders and allow modifying it. They are similar to mount points that link to volumes. Old programs (including Explorer in Windows XP) treat them as regular folders and remove all target folder contents on deletion. Supported since Windows 2000.

File hardlinks - equivalent links to the same file contents. Such links may have different names and located in different folders within same volume. You can change file attributes or contents via any of them, and other ones may show old attributes until you open file via them. File contents is kept on disk while at least one hardlink exists. Supported since Windows 2000.

Symbolic folder links - links similar to junctions but allowing relative and UNC paths. Supported since Windows Vista.

Symbilic file links - pseudo-files providing access to target file contents. Such links don't show file size (it is always zero) and attributes (modification date is always the same as link creation date). Supported since Windows Vista.


2. Command line

Command line accepts path to single object or filelist (UTF-16 text file) and destination path, and also optional parameters. Syntax:

NTLinksMaker[.exe] [<parameters>] {<src_file>|@<src_list_utf16>} <dst_path>

Parameters:
	/l=0
		Number of levels for directories which will be duplicated by creating regular folders and placing file links inside them. All deeper levels will be duplicated as folder links.
	/s[?]
		If not set, junctions are created for folders and hardlinks for files. Option /s causes symbolic links for both folders and files to be created. Option /s? causes symbolic links to be created only when necessary (e.g. for files from another volume or UNC paths).
	/r=<path>
		This option allows links creation with keeping directory structure. It sets base path which is used to detect and re-create relative paths for all objects.
	/b
		Block TC window when dialog is shown (as for regular copy/move TC dialogs).
	/n
		This option must be set when destination path contains also link name.
	/q
		Disable all questions and confirmations. Only possible actions will be performed and status code returned (nonzero in case of errors).


3. Dialog

You can change destination path and link name (in case of multiple objects * must be used as link name).
Also you can set link creation parameters: base path for keeping directory structure (/r option), number of folders to create directly (/l option) and link types to be created.


4. Integration with TC

In order to use tool with TC, you should create buttonbar button or user command (this one will allow adding tool to main menu or assigning a hotkey for it). Recommended parameter field string is: /q- /b /r="%P" "@%WL" "%T". Also you can alter initial dialog options using /l and /s keys. If you don't like to see help window when ".." item is focused, you can add /q key to command field: "NTLinksMaker.exe" /q.


Discussion page on official board: http://www.ghisler.ch/board/viewtopic.php?t=23681



History:

2015-02-06	1.0.5.262
	+ creates intermediate folders
	+ /r parameter with base path to cut when determining destination name
	+ /s? parameter allows symlink creation when it is impossible to create old links
	+ detects Windows font to use in dialog
	* better error handling with hardlinks and new dir creation

2014-10-08	1.0.4.170
	+ retry/skip inner files/folders in case of nonzero level number

2014-08-14	1.0.3.154
	+ ignore all button added to error dialog
	+ left/right keys goes to selection start/end in input field
	* /l=-1 is now supported

2014-02-24	1.0.2.122
	+ supports junctions/hardlinks/symlinks and directory level to create
	+ asks for elevation when required
	+ is able to block TC window
	+ F5/F6 switches selection in input field (like in TC)
	* do not enter reparse points
