Greetings
I have an app that writes an ftp script file and also writes a batch file to execute the script file. When I double click on the batch file it runs the script file perfectly. Now I want to eliminate the double click and run the batch file automatically from my app. I am using the following line to try to accomplish this but cannot get it to work.
System.Diagnostics.Process.Start("C:\MyBatchFile.bat")
Does anyone have experience to lend on how to execute a batch file from a vb app? Thank you.
I have an app that writes an ftp script file and also writes a batch file to execute the script file. When I double click on the batch file it runs the script file perfectly. Now I want to eliminate the double click and run the batch file automatically from my app. I am using the following line to try to accomplish this but cannot get it to work.
System.Diagnostics.Process.Start("C:\MyBatchFile.bat")
Does anyone have experience to lend on how to execute a batch file from a vb app? Thank you.