Pengwin
Pengwin copied to clipboard
make links compatible with file explorer
Is your feature request related to a problem? Please describe. It is frustrating that the links made from this shell don't work correctly in file explorer unless they are relative (due to the fact that path's differ). Also I paid for the windows store version, if this is implemented I will give you guys 5 stars in the store! ty
Describe the solution you'd like I would appreciate it if you implemented a link resolver that transparently created a link with a path that works in file explorer & translated that path to the corresponding linux one before use in the shell/by shell programs. Also I link to my real home from my linux home so a call to realpath would also be necessary (in case the abs path goes into C: from a link that is else where).
Describe alternatives you've considered using WSLU this is nice but I need the real functionality of a link (i.e. programs can use it, rather than just file explorer)
Hello,
Please give us examples. it is so confusing which is your request and what you mean by link.
Are you talking about ln -s ?
To make links between windows folders use mklink:

For example:
cmd.exe /c mklink /d mym2 .m2
From linux to windows just use ln
ln -s /mnt/c/Users ~/myusers
To link from your windows filesystem to WSL home, well wait for Windows 19.03 and try to mount a shared drive.
But again please be more specific so we can help
Regards
Maybe, a new utility called wsllink can be created. Which will be a wrapper for cmd.exe mklink and use ln or mklink depending on the paths passed to it.
Maybe, a new utility called wsllink can be created. Which will be a wrapper for cmd.exe mklink and use ln or mklink depending on the paths passed to it.
Sorry ignore my previous replies (deleted) I was unaware of the finer details of linking between WSL & win. Yes your idea would work perfectly! (just tested relevant ideas) Assuming of course any linux-to-win path is converted to a pure windows path for any mklink call.