Hi,
I'm making an app that creates a .bat file when a button is pushed. I use Shell() to get the bat file to run. Now when I'm using this is testing on my local machine it works perfectly, however, when I tried using it in production today across the server, it created the .bat file but didn't run it. Any ideas why it wont work? I'm using VB.NET 2005
Thanks
I'm making an app that creates a .bat file when a button is pushed. I use Shell() to get the bat file to run. Now when I'm using this is testing on my local machine it works perfectly, however, when I tried using it in production today across the server, it created the .bat file but didn't run it. Any ideas why it wont work? I'm using VB.NET 2005
Thanks
gstrDirectory is the directory where run.bat is located.'Shell out and run the batch file.
Shell(My.Settings.gstrDirectory & "\run.bat", AppWinStyle.MinimizedFocus, False, -1)