S
S
sh0keqlow2021-06-30 12:17:31
Windows Forms
sh0keqlow, 2021-06-30 12:17:31

How to make an application in Win Forms having bat file and exe files?

In general, the essence is this. I have an automatic folder on my C: drive. It contains a .bat file and a few more (8 of them) folders. Each folder contains an .exe file. You need to create a Win Forms application (C#), in which you need to select a folder ( In this case, automatic ), press the start button and all .exe files will be automatically launched in a row.

New to Win Forms and got this task. How to implement all this? Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HemulGM, 2021-06-30
@HemulGM

Teach, teach and teach again. Learn the basics of C#. Questions will disappear.
You create a new solution on WinForms, add buttons, add a click event handler to each button. In the handler, you call the command execution method in Windows (WinExec or ShellExecute or OpenProcess or StartProcess)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question