You can also put this at the end of your batch file.

pause>nul




On Aug 21, 10:58 am, FireSnacker <[EMAIL PROTECTED]> wrote:
> I am running a batch file to start a server on the user's machine,
> when the user clicks on the batch file in Windows XP the server is
> started and a cmd box remains, displaying the processes of the server
> as it's being used. But when I start the batch file from Visual
> Basic .net the batch file runs then quits. How do I get the batch file
> to act as it does when the user clicks on the batch file in Windows
> XP? Here is my code:
>
>         Dim myProcess As New Process
>         myProcess.StartInfo.FileName = "C:\inskey\lib
> \runWFRemoteServer.bat"
>         myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal
>         myProcess.Start()

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

Reply via email to