system中有空格没法读取
原始路径:
"start C:\\Program Files\\Everything\\Everything.exe"
改为:
char *cmd="start C:\\\"Program Files\"\\Everything\\Everything.exe";
system(cmd);
原始路径:
"start C:\\Program Files\\Everything\\Everything.exe"
改为:
char *cmd="start C:\\\"Program Files\"\\Everything\\Everything.exe";
system(cmd);