probleam when run batch file on iis
-
i have a batch file (aa.bat) when i run batch file in asp.net ProcessStartInfo startinfo = new ProcessStartInfo(); startinfo.RedirectStandardOutput = false; startinfo.RedirectStandardError = false; startinfo.UseShellExecute = true; startinfo.FileName = "C:\\aa.bat"; Process.Start(startinfo); then successfull run when project run on the localhost that time not run batch file, why ? and filnally my question is that when run batch file open command window. i want to that not show command window e.g hidden. how hidden batch file.
-
i have a batch file (aa.bat) when i run batch file in asp.net ProcessStartInfo startinfo = new ProcessStartInfo(); startinfo.RedirectStandardOutput = false; startinfo.RedirectStandardError = false; startinfo.UseShellExecute = true; startinfo.FileName = "C:\\aa.bat"; Process.Start(startinfo); then successfull run when project run on the localhost that time not run batch file, why ? and filnally my question is that when run batch file open command window. i want to that not show command window e.g hidden. how hidden batch file.
You want to run a batch file using ASP.net. You know that this will always run it on the server, don't you - the open command window you're aiming for will be there for nobody to see...