9 Replies
Why exactly are you using a batch script and not just write it within the program? That way you can also get live status update
easier way would be to write in powershell a wpf app which also would simplify your batch as no body can read batch nowadays
how
i dont ^^
what?
what do you not
I don't know how to make an app using wpf ^^, I'm just a newbie, I hope you can help me
:blobthumbsup:
you want it in powershell or C# ?
as it seems you want to run some OS operations which are easier in powershell
but if you want C# you want C#
I want to be able to run cmd command in the button of window form app c#
System.Diagnostics.Process.Start("CMD.exe", "/C ipconfig");
you can run taht ( copied from stack overflow didnt try )
on your button action you invoke that methodtthankyou'