Hello,
i've the following problem: I have a Script Task (VB) in which I'm iterating over an object (this is filled with a list of folders e.g. 00100 next line 00200 ...).
With System.Diagnostics.Process.Start("CMD.exe", cmdText) I want to execute my command for every generated line. In the Execution Results window i see the following line which is send to cmd.exe (cmdText):
"C:\Program Files (x86)\IrfanView\i_view32" \\abc\00100\*.jpg /resize=(640,480) /aspectratio /resample /convert=\\abc\Temp\00100\*.jpg
The command line opens but it's shutting down too fast. Only the folder 00100 in\\abc\Temp\ is being created. The resizing process doesn't work. Copying this line to the cmd.exe window it do what it should do.
Did I forget anything? I tried to escape the \ with \\ but it doesn't work.
Any suggestions?
Many thanks in advance.