#include<stdio.h>#include<stdlib.h>int main(){ system("reg add \"HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\" /v QQ /d D:\\Program Files\\Tencent\\QQ\\QQ.exe /f"); system("pause");
return 0;}
运行结果:program too big to fit in memory!!!
还是program too big to fit in memory!!
恩```可以添加!!谢谢````再问一下`~如果它路径确实很长那怎么办?
[此贴子已经被作者于2007-6-2 21:40:14编辑过]
路径太长就出现program too big to fit in memory!!用D:\\qq.exe可以而用D:\\program files\\tencent\\qq\\qq.exe就出现program too big to fit in memory!!
[此贴子已经被作者于2007-6-3 20:51:08编辑过]