Hey everyone! I need urgent help with this issue I am having with the process.start command.
So, I have a .exe file that takes in a text file as an argument and generates another text file as an output. Now, when I am trying to access my .exe file with process.start with the text file using
"Process.Start("C:\Users\DirectStiffness.exe", "C:\Users\HW3A.txt")
the program does not run and says file could not be opened.
I have tried opening the program with cmd process and it works fine over there. This tells me that the .exe file is working fine.
I have also tried opening the program and the file in numerous other ways, but I have failed to make it work. Any help would be greatly appreciated.
Thanks!
So, I have a .exe file that takes in a text file as an argument and generates another text file as an output. Now, when I am trying to access my .exe file with process.start with the text file using
"Process.Start("C:\Users\DirectStiffness.exe", "C:\Users\HW3A.txt")
the program does not run and says file could not be opened.
I have tried opening the program with cmd process and it works fine over there. This tells me that the .exe file is working fine.
I have also tried opening the program and the file in numerous other ways, but I have failed to make it work. Any help would be greatly appreciated.
Thanks!