[scilab-Users] list of files in directory and directories

Mathieu Dubois mathieu.dubois at limsi.fr
Wed Nov 24 18:33:05 CET 2010


Hello,

You can try to use dir() and use the isdir field to (recursively) list 
files in subdirectories.

Mathieu

On 11/24/2010 05:44 PM, Carrico, Paul wrote:
> All,
> Quick question : is there a way to list and record all the file+path 
>  in a directory + sub-directories ?
> I had a look in listfiles that list files and directory names in the 
> current directory (but not in the sub directories)
> The idea is to write a general routine that looks(and record names and 
> paths)  for the files and the (sub)directory(s) applicables in all the 
> cases.
> Thanks
> Paul
> --------------------------------------------------------------------------------
>
>
> Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.
>
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.
>
>    

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


More information about the users mailing list