[Scilab-users] Question on the use of dos

Federico Miyara fmiyara at fceia.unr.edu.ar
Wed Jul 28 08:50:16 CEST 2021


Dear all,

I need to use dos() to run an external command line application and have 
been experimanting a bit.

I run the following:

commands = "H: cd SOFTWARE\FLAC\ dir"
[output, bOK, exitcode] = dos(commands, "-echo")

or

commands = "H: cd SOFTWARE cd FLAC dir"
[output, bOK, exitcode] = dos(commands, "-echo")

The bOK argument returns T so it seems it worked properly, however I 
don't get any echo in the console. I should see the comntent of the 
directory FLAC.

What am I doing wrong?

Regards,

Federico Miyara



-- 
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210728/39d8eab8/attachment.htm>


More information about the users mailing list