symlink support

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
mklhmnn
Posts: 34
Joined: 27 Jan 2013, 14:27

symlink support

Post by mklhmnn »

Most likely this RFE already has been requested, but I haven't found a thread.

Please provide support for creating symlinks on NTFS volumes, similar to the mklink tool. Thanks in advance.
mklhmnn
Posts: 34
Joined: 27 Jan 2013, 14:27

Re: symlink support

Post by mklhmnn »

Is there no one else interested in such a feature?
mklhmnn
Posts: 34
Joined: 27 Jan 2013, 14:27

Re: symlink support

Post by mklhmnn »

I found it! Plugins > Automation > Make Link already does it. :D
manison
Plugin Developer
Plugin Developer
Posts: 216
Joined: 09 Dec 2005, 23:23
Location: Ceske Budejovice, Czech Republic
Contact:

Re: symlink support

Post by manison »

To make symbolic link/hard link/junction you can use the "Make Link" script for the Automation plugin. The script is installed by default and you can assign a keyboard shortcut to it through the Plugins Manager.
mklhmnn
Posts: 34
Joined: 27 Jan 2013, 14:27

Re: symlink support

Post by mklhmnn »

Unfortunately, it does not work on XP (mklink seems not available there). Beside that the dialog looks somehow strange layed out.
Attachments
make-link-dlg.png
make-link-dlg.png (7.8 KiB) Viewed 9345 times
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Re: symlink support

Post by therube »

mklink seems not available there
Correct.

Beside that the dialog looks somehow strange layed out
Wonder if that may not be theme or font size (scaling) related?
(Looks normal on my XP "classic".)


ln.exe or link.exe (found in gnuwin32, ...bin.zip) I would think (though not tested) would work.
You would have to adjust the .js script (certainly for the gnu version, possibly for the other).
(Don't know offhand if a Win7 mklink.exe runs on XP?)


Oh and Link Shell Extension (LSE) will give you a context menu option that should work from within Salamander.
WinXP Pro SP3 or Win7 x86 | SS 2.54
User avatar
Ether
Posts: 1471
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Re: symlink support

Post by Ether »

Symlinks are not well supported under XP. According to the NTFS symlink Wikipedia article, symlinks were introduced with the NTFS revision shipped in Vista, so XP officially knows only junction points, which are a similar thing, but only for directories.

But, to keep things interesting, Windows XP's Explorer handles junction points really badly:
Wikipedia wrote:Deleting a junction point using Windows Explorer will delete the targeted files immediately if using shift-delete (Windows 2000/XP/2003). the command del myjunction should not be used – this will just delete all the files in the targeted directory. Deleting a junction point using Explorer is safe since Vista.
Ελληνικά rulez.
fraktik
Posts: 209
Joined: 27 Apr 2007, 12:13
Location: cz
Contact:

Re: symlink support

Post by fraktik »

I remember I used symlinks even on WinXP, I used cmd commands, but did you try AS "run as administrator"?
Post Reply