[求助]怎么修改注册表
我编了一个小程序
#include <windows.h>
void main()
{
system("echo Hello world! >c:/a.txt");
system("notepad c:/a.txt");
}
这个程序link成为a.exe
我想在注册表指定的run项填加这个a.exe 的开机自动运行,如何编写?
谢谢指教
我编了一个小程序
#include <windows.h>
void main()
{
system("echo Hello world! >c:/a.txt");
system("notepad c:/a.txt");
}
这个程序link成为a.exe
我想在注册表指定的run项填加这个a.exe 的开机自动运行,如何编写?
谢谢指教