Hi,
I have a requirement to execute a .bat file from c#. I am aware of the
process to do so using System.Diagnostics namespace. However, I need to
replace the values in my .bat file at runtime when it is called by C#.
eg. In my .bat file
"C:\test.bat" -xml "C:\07.xml" -xsl "C:\fo.xsl" "c:\output.pdf"
I would like to replace the hardcoded values for "C:\test.bat", "C:\07.xml",
"C:\fo.xsl" when calling from C#.
Can somebody plz let me how can i implement this (guess by %1 etc in .bat)?