https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c64d31e9b86eec94d0c1abcd296bc74b15fd5250
commit c64d31e9b86eec94d0c1abcd296bc74b15fd5250 Author: Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com> AuthorDate: Thu Dec 13 20:04:02 2018 +0900 Commit: GitHub <nore...@github.com> CommitDate: Thu Dec 13 20:04:02 2018 +0900 [BROWSEUI] Add backslash for directory (#1121) CORE-15434 --- dll/win32/browseui/parsecmdline.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dll/win32/browseui/parsecmdline.cpp b/dll/win32/browseui/parsecmdline.cpp index 855c089079..4ea538a4b9 100644 --- a/dll/win32/browseui/parsecmdline.cpp +++ b/dll/win32/browseui/parsecmdline.cpp @@ -382,6 +382,9 @@ SHExplorerParseCmdLine(ExplorerCommandLineParseResults * pInfo) { // Or just a plain old string. + if (PathIsDirectoryW(strField)) + PathAddBackslash(strField); + WCHAR szPath[MAX_PATH]; DWORD result = GetFullPathNameW(strField, _countof(szPath), szPath, NULL);