On 02/09/2014 19:37, Achim Gratz wrote:
Gerry Reno writes:
I have a script that issues this command:
run $WINDIR/system32/mstsc.exe /multimon /v:$IP:3389
And before this script has always succeeded but now it errors as follows:
Invalid connection file (/v:192.168.1.27:3389) specified
In a terminal window I can run the command directly and it succeeds:
$WINDIR/system32/mstsc.exe /multimon /v:$IP:3389
But 'run' no longer successfully runs the command.
Can someone verify this?
Well I can verify that this happens, but I have no idea why. It seems
that mstsc doesn't parse the option as option when started via run…
Regards,
Achim.
I noticed that
run "$WINDIR/system32/mstsc.exe /multimon /v:my_ip:3389"
produces equivalent output of
mstsc.exe /multimon /v:my_ip:3389
so eventually run is splitting the arguments in a way that mstsc
does not like
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple