| Author |
calling windows command from Biztalk Pipeline
|
|
|
| I wrote some code in an c#.net win app that executes a command line utility
(ex: xcopy.exe file1 file2)
I'm trying to do the same thing in a Biztalk pipeline component but it's not
working. I'm also not getting any errors. Can anyone help? See code
snipit below:
System.Diagnostics.Process pcess = new System.Diagnostics.Process();
pcess.StartInfo.UseShellExecute=true;
pcess.StartInfo.CreateNoWindow=true;
pcess.StartInfo.WindowStyle=System.Diagnostics.ProcessWindowStyle.Hidden;
pcess.StartInfo.FileName = "xcopy";
pcess.StartInfo.WorkingDirectory=_WorkingDirectory;
pcess.StartInfo.Arguments= arg1 + " " arg2;
pStat=pcess.Start();
| |
|
| figured it out...it was permissions
"fzee" wrote:
> I wrote some code in an c#.net win app that executes a command line utility
> (ex: xcopy.exe file1 file2)
>
> I'm trying to do the same thing in a Biztalk pipeline component but it's not
> working. I'm also not getting any errors. Can anyone help? See code
> snipit below:
>
> System.Diagnostics.Process pcess = new System.Diagnostics.Process();
> pcess.StartInfo.UseShellExecute=true;
> pcess.StartInfo.CreateNoWindow=true;
> pcess.StartInfo.WindowStyle=System.Diagnostics.ProcessWindowStyle.Hidden;
> pcess.StartInfo.FileName = "xcopy";
> pcess.StartInfo.WorkingDirectory=_WorkingDirectory;
> pcess.StartInfo.Arguments= arg1 + " " arg2;
> pStat=pcess.Start();
|
|
|
|