G
Guest
Hi all,
I am tring to call a .vbs file using System.Diagnostics.Process class with
following code.
Process objProcess = new Process();
objProcess.StartInfo.FileName = "C:\\testScript.vbs";
objProcess.StartInfo.Arguments ="1 2 test2.txt";
objProcess.Start();
objProcess.WaitForExit();
It is blowing up on executing the code,
althought the vbs script file is working fine on running indivually.
Any help is appriciated.
Thanks and Looking Forward,
Rupali
I am tring to call a .vbs file using System.Diagnostics.Process class with
following code.
Process objProcess = new Process();
objProcess.StartInfo.FileName = "C:\\testScript.vbs";
objProcess.StartInfo.Arguments ="1 2 test2.txt";
objProcess.Start();
objProcess.WaitForExit();
It is blowing up on executing the code,
althought the vbs script file is working fine on running indivually.
Any help is appriciated.
Thanks and Looking Forward,
Rupali