Calling Batch Files from Main Form


Posted by Rick Ashford on May 05, 2000 at 00:36:05:

I am trying to call a series of batch files from my main form. The hard part is that I need to specify that they be executed with 4Dos instead of MS-Dos, so I can't just use the ShellExecute function. I've added the batch files to my project, and I've modified the command property to tell it to run through 4Dos, but I need to know how to call it in my form. Do I have to modify the "uses" to include the files? How do I get it to run without using ShellExecute?


Related Articles and Replies: