1 #include<stdlib.h> 2 #include<stdio.h> 3 int main() 4 { 5 //cmd为可执行文件绝对路径 6 char *cmd="C:\\Users\\Red\\Desktop\\GVimPortable\\GVimPortable.exe"; 7 system(cmd); 8 getchar(); 9 return 0; 10 }