Fix open in explorer problem while path contain unusual characters

Wrap path arg in quotes to properly open explorer

Closes #1689, fixes #1628
pull/1851/merge
dail8859 9 years ago committed by Don Ho
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…
Cancel
Save