Just copy and past below code in notepad save it with extension ".bat"
cd..
shutdown /t 30 /r /c "Your computer detects a virus"
cd..
shutdown /t 30 /r /c "Your computer detects a virus"
this blog gives the details about some window batch programming and web programming.It help you for some software problems.....