Write and run a batch file
Write and run a batch file
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.
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.
This thread is closed for replies.
Similar Threads
WarRock - International HacksIs PB Back Up And Running? 2 WarRock - International Hackswar rock hacks: how u get them up and running?LO 6 WarRock Korea Hacks[request] how to download, install and run korean warrock. 12 Combat Arms Hacks & Cheats[Realease]IPChanger batch file 3 Visual Basic ProgrammingMaking A Batch File In Visual Basic 0