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:
dail8859 2016-03-29 09:49:58 -04:00 committed by Don Ho
parent 3ff59b2a70
commit 0273917bbe
1 changed files with 1 additions and 1 deletions

View File

@ -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;