3
Answers

Shutdown windows

alen.net

alen.net

18y
2.5k
1
Im a beginner amd my english is very bad but i hope you understand this. I have been writing simple ultity, and i need to shutdown windows in it. I tried this line but it doesnt work: System.Diagnostics.Process.Start(@"%windir%\System32\shutdown.exe -s -t 00"); How do i do it? Can you please give ma an example?
Answers (3)