Creating a simple script to shutodwn you’re computer

Posted by | November 07, 2008 | Uncategorized | One Comment

Today I am going to show you how to create a simple script that will shutdown you’re computer. First of all it works just on Windows first of all open notepad and write the code above

shutdown -s -t [xx]

first of all replace the [xx] with a value in seconds by example 30 and then save the file with extension .bat a very important aspect, the name can by whatever you want.

About Andrei Tara

Andrei is a developer/geek who loves creating high quality and efficient applications, always following the best practices in software engineering. He loves the challenge of learning new, exciting things and playing with new languages, frameworks, and tools.

One Comment

Leave a Reply