Information, FAQs, Q&As, and everything else related to the CastleOS API can be found here
Running cmd files from withing CS
Elias Hall Posts: 34
5/4/2015
|
I have created the following cs file to run but can't get the CMD file to execute, am I missing something?
using System; using CastleOSKinectService;
public class MyScript { public void Main(string[] args) { ScriptingAPI.Speak("Good Night"); System.Diagnostics.Process.Start("C:\\SleepMode.cmd"); } }
|
|
0
link
|
Chris Cicchitelli Administrator Posts: 3390
5/4/2015
|
|
|
0
link
|