A
A
Arseniy Latypov2020-10-16 18:06:19
System administration
Arseniy Latypov, 2020-10-16 18:06:19

How to run exe with bat?

Greetings, dear ones.
I wrote some Python code and compiled it into an exe. Next, I placed the exe in the WebDAV folder, because I need to run it from there. If you do not run it through bat, then it works fine, through bat it does not seem to start at all. I run it like this . Everything works from cmd too, everything works the same way if you run the program via bat in a local folder, and not WebDAV. And it works if you run bat from WebDAV, but it doesn't work if you run bat in WebDAV via bat local. I can not understand what is the reason and how to fix it, maybe someone met with this? I would appreciate any help, thanks in advance!start "" "Y:/finalversion.exe" /WAIT /REALTIME

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2020-10-16
@res2001

It's very easy to launch an exe from a batch file: Y:/finalversion.exe
Your construction (through start) should work the same, but it's superfluous.
Another question is how you launch the batch file itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question