Thanks Adrien and others for the very helpful responses.
The mkdir function has indeed all the functionality required, seeming more
useful than the more basic createdir function.
Best regards,
Rafael G.
--
View this message in context:
http://mailinglists.scilab.org/Scilab-5-4-createdir-tp40
Le 27/01/2013 09:23, Sylvestre Ledru a écrit :
How to disable the warning message above?
-->createdir("/tmp")
createdir : Attention : Le répertoire '/tmp' existe déjà.
ans =
T
-->warning("off")
right, but this turn off all warnings from any command, not only for
createdir().
This is c
guy guys
mkdir does what you want
does not issue a warning when the dir already existed, instead returns a
status that you can ignore:
-->mkdir foo
ans =
1.
-->mkdir foo
ans =
2.
-->mkdir foo
ans =
2.
-->mkdir "this%µ£¨$^? wont work"
ans =
0.
help mkdir
ki
On 27/01/2013 06:05, Samuel Gougeon wrote:
> Hello Rafael,
>
> Le 27/01/2013 03:51, Rafael Guerra a écrit :
>> ../..
>> In Scilab 5.4 (Windows 7) if one creates a folder with the command:
>>status= createdir('D:\OUTPUT');
>>
>> and the folder already exists, then a warning message will be issu
Hello Rafael,
Le 27/01/2013 03:51, Rafael Guerra a écrit :
../..
In Scilab 5.4 (Windows 7) if one creates a folder with the command:
status= createdir('D:\OUTPUT');
and the folder already exists, then a warning message will be issued in
Scilab's Console:
createdir: Warning: Directory 'D
Hello,
In Scilab 5.4 (Windows 7) if one creates a folder with the command:
status= createdir('D:\OUTPUT');
and the folder already exists, then a warning message will be issued in
Scilab's Console:
createdir: Warning: Directory 'D:\OUTPUT' already exists.
How can one check in Scilab if a di