Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'creating a list of files' topicStudent Support Forum > General > "creating a list of files"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
jf
11/24/12 11:55am

Probably the elegant way is with FileNameJoin.

The primitive method is to built file names with StringJoin and ToString.

In[1]:= fns = Table[StringJoin["a00",ToString[j],".jpg"],{j,1,4}] //InputForm

Out[1]//InputForm= {"a001.jpg", "a002.jpg", "a003.jpg", "a004.jpg"}



URL: ,

Subject (listing for 'creating a list of files')
Author Date Posted
creating a list of files Sumit 11/24/12 00:14am
Re: creating a list of files jf 11/24/12 11:55am
< Previous CommentHelp | Reply To Comment | Reply To Topic