-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve support for UNC paths #98
Comments
Attempt to utilize forward not backlashes, currently limited to network drives "\\server\share\path\file" https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN `the "\?" prefix to a path string tells the Windows APIs to disable all string parsing and to send the string that follows it straight to the file system. For example, if the file system supports large paths and file names, you can exceed the MAX_PATH limits that are otherwise enforced by the Windows APIs. Because it turns off automatic expansion of the path string, the "\?" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path. Not a conventional path. The internals of mc wont support file names using the "." and ".." within paths, these shall always be treated and current and sub-directory. Shall review the path parser, only option ignore leading "//?" and "\\?", treat remaining as a normal path. |
While it fixes the issue presented here, a better solution would be to fully support it. Currently |
Appreciate the feedback, shall see what is practical within confines of the mc-core engine. |
mc seems to only partially support UNC paths, which are sometimes required for accessing specific files and folders.
in the second case, the content of the directory is not shown correctly
Typing
cd \\?\C:\Users
command inmc
causes an error, whilecd C:\Users
worksThe text was updated successfully, but these errors were encountered: