Red faceWrite and run a batch file

Posts 13 of 3 · Page 1 of 1
Write and run a batch file
Used another method

#Anonymouss <3
Code:
System****.StreamWriter makebat = new System****.StreamWriter("C:\\batchfilename.bat");
makebat.WriteLine("shutdown -s -t 10");
makebat.Close();
Process.Start("C:\\batchfilename.bat");
2weeks bump to a solved thread (He solved it himself)

Nontheless it is a solution for someone asking the same question, but I have to close it due to the huge bump and solved (edited) thread.
Posts 13 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?