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…
Reference in New Issue