C program to restart computer system

#include<stdio.h>
#include<conio.h>
main ()
{
system("shutdown -r -t 00");  
//this will shutdown your computer and restart also.
//system("shutdown -s -t 10"); 
//this will shutdown your computer within 10 sec.
}

Comments

Post a Comment

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System