ticket #41 was mine, I think, so...

In Win10 Creators Update, if one enables Developer Mode [*] then one can create symlinks without being administrator both from Command Prompt with 'mlink' and in MSYS2 shells (MSYS/MINGW32/MINGW64) with 'ln': here you have to uncomment the line

  MSYS=winsymlinks:nativestrict

in the /*.ini files.

I did all this and all seems to work fine. Since then, when I build Emacs, emacs.exe is a symlink to emacs-26.0.50.exe an not a copy.

Being native MS symlink, they are understood also by native Windows apps.

For example

alias open='start'

ln -sf true_pdf_file.pdf foo

open foo


starts Ad.Reader and read foo, i.e. true_pdf_file.pdf, and


apack a.tar.gz foo

tar -tvf a.tar.gz
lrwxrwxrwx user/NONE 0 2017-08-09 16:24 foo -> true_pdf_file.pdf


Angelo


----
[*] https://www.ghacks.net/2015/06/13/how-to-enable-developer-mode-in-windows-10-to-sideload-apps
BTW, you need Developer Mode if you want to use WSL...


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to