For the moment I am writing a startInterface for an old Software some people are using here at my company.
To start it, I need to call 2 batch files. I can do that via the Shell Command. No problem. However, the first batch sets Environment Path variables which are only valid in the current Dos Box. However, the Dos Box closes after the first Batch file finished processing. The Second Shell Command opens a new Dos Box, where the Environment Variables aren't set anymore.
So what I need to know is how to force VB.NET to keep the DosPrompt Open after the first .bat has launched and run the second one in the very same DosPrompt.
Any help would be appreciated.
To start it, I need to call 2 batch files. I can do that via the Shell Command. No problem. However, the first batch sets Environment Path variables which are only valid in the current Dos Box. However, the Dos Box closes after the first Batch file finished processing. The Second Shell Command opens a new Dos Box, where the Environment Variables aren't set anymore.
So what I need to know is how to force VB.NET to keep the DosPrompt Open after the first .bat has launched and run the second one in the very same DosPrompt.
Any help would be appreciated.