adamyg / mcwin32

Midnight Commander for Windows
https://sourceforge.net/projects/mcwin32/
210 stars 14 forks source link

MC fails on a subst - drive #65

Closed winspool closed 10 months ago

winspool commented 11 months ago

I merged the contents of my old second drive to a subdirectory to "C:" and use "mklink" and "subst.exe" to make the same drive letter available as i used before. (In my use case, "S:" is a subst to "C:_s" and "C:_s" is a link to "C:\data\src")

In the console, changing to the subst drive with "S:" works, "dir" works, but starting "mc" fails: 1: The mc Dialog "Kann Verzeichniss nicht lesen" comes up ("Cant read directory") 2: This Dialog is not active and cant be closed with "Enter", but a second "Enter" works 3: Main ui of mc comes up, but the panel has no files or directiories

adamyg commented 11 months ago

shall review, have not encountered/used subst's drives in many years.

adamyg commented 10 months ago

Testing on a subst directories work without issue, why not use "subst S: C:\data\src" ?

WIn10, tested same scenario (as below), no issues accessing X:\

D:\>mklink /d _s d:\devl
symbolic link created for _s <<===>> d:\devl

D:\>subst X: D:\_s
adamyg commented 10 months ago

retest against latest, thx