[Scilab-users] Scilab 5.4 createdir

Samuel Gougeon sgougeon at free.fr
Sun Jan 27 06:05:26 CET 2013


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:\OUTPUT' already exists.
>
> How can one check in Scilab if a directory already exists?
with
fileinfo("myDir_or_file_with_path")~= [ ]

> How to disable the warning message above?
AFAIK, there is no switch

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130127/d19523ce/attachment.htm>


More information about the users mailing list