Turn off Computer

BlitzPlus Forums/BlitzPlus Programming/Turn off Computer

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ExecFile("Shutdown.exe -s -c "+Chr$(34)+"Because I said so"+Chr$(34)+" -d p -t 10") That starts up a program in dos that should shut down the computer. The chr$(34)'s represent quotation marks (which are kind of hard to add in in blitz without that command).