we have a .exe
file. It takes input as .txt
file and gives output as another .txt
file.
Now, I want to run that .exe
file from MM
.
I tried in 2 way,
Case 1 :
using SystemOpen[]
.
It showing the following Window, Once I run the SystemOpen[path]
.
I click on Run
button.after it's not showing anything.
for my conformation, Manually I double click on .exe
file. it's working fine. but SystemOpen[]
was not working.
case 2:
I created .bat
file with the following code
cd C:\Users\Infratab Bangalore\Desktop\Rod's
Infratab1-2.exe
Now I open .bat
file using same function SystemOpen[]
. here it's working great.
How can I fix case 1
problem. If anybody knows suggest me.
Thanks.
Run
andRunthrough
in the following way. but not working Run[.exe FilePath] $\endgroup$CompilationTarget
.it showingA C compiler cannot be found on your system. Please consult the \ documentation to learn how to set up suitable compilers
. so Am I need to installC
in my system. $\endgroup$