ShellExecute 命令行参数最长2068

#include <shellapi.h>

#pragma comment(lib,"shell32.lib")

ShellExecute(NULL,TEXT("open"),exepath,exeparam,NULL,SW_SHOW);

 

 

exepath + 1 (空格) + exeparam 长度最多2068

"test.exe argsssssssssssssssss"

你可能感兴趣的:(shell,null,include)