C
C#3mo ago
Boof

Help me

how can i include cmd encoding in c# button
No description
No description
No description
9 Replies
Buddy
Buddy3mo ago
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
Joreyk ( IXLLEGACYIXL )
easier way would be to write in powershell a wpf app which also would simplify your batch as no body can read batch nowadays
Boof
Boof3mo ago
how i dont ^^
Joreyk ( IXLLEGACYIXL )
what? what do you not
Boof
Boof3mo ago
I don't know how to make an app using wpf ^^, I'm just a newbie, I hope you can help me :blobthumbsup:
Joreyk ( IXLLEGACYIXL )
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#
Boof
Boof3mo ago
I want to be able to run cmd command in the button of window form app c#
Joreyk ( IXLLEGACYIXL )
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 method
Boof
Boof3mo ago
tthankyou'