I'm trying to run a command script (.cmd) with arguments, the same way I
run it from the command line. The ASP .NET code is running without
errors but nothing is happaning.
My code is:
process1.StartInfo.FileName = DirPath + "\\makelist.cmd";
process1.StartInfo.Arguments = StreamName;
process1.Start();
I also tried with adding
process1.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process1.StartInfo.UseShellExecute = true;
but it doesn't help.
BTW
I'm trying to convert a VB6 code that did the job with
Shell (DirPath & "\makeList.cmd " & StreamName)
Thanks,
Ron Fidel
Unisfair
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!