mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
Fix open in explorer problem while path contain unusual characters
Wrap path arg in quotes to properly open explorer Closes #1689, fixes #1628
This commit is contained in:
parent
3ff59b2a70
commit
0273917bbe
@ -76,7 +76,7 @@ void Notepad_plus::command(int id)
|
||||
|
||||
case IDM_FILE_OPEN_FOLDER:
|
||||
{
|
||||
Command cmd(TEXT("explorer /select,$(FULL_CURRENT_PATH)"));
|
||||
Command cmd(TEXT("explorer /select,\"$(FULL_CURRENT_PATH)\""));
|
||||
cmd.run(_pPublicInterface->getHSelf());
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user