If I repeat the command, which shall only update older files in the
target directory, nothing is done, but I get
stat =
0.
rep =
!
the output OK ... !
However, the successful command gives stat = 1 like an erroneous
command! So there must be a bug or am I missing something?
Regards
Stefan
On 2015-10-28 00:32, Stefan Du Rietz wrote:
Hello,
I want to run and get the output from the command robocopy under
Windows 10 from Scilab. I have tried the Scilab functions unix_g(),
dos(), and powershell() but I always get the same empty output:
->[rep, stat] = unix_g(cmd)
stat =
1.
rep =
However, the command is successful: the files are copied OK.
If I run the command (cmd) from Windows "Command Prompt" or "Select
Windows PowerShell" I get the output.
If I use xcopy I also get the output from Scilab
.
Regards
Stefan
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users