I have set of files in the format 20160615-1-0.asc, 20160615-2-0.asc,... 20160615-5-0.asc etc. The following commands can List the file names at once which can be used to import later.
files = Range[1, 5];
c = "D:\\20160615\\20160615-" <> ToString[#] <> "-0.asc" & /@files
I want to use "0" part of the "-0.asc" string as a variable so that I can make different lists of multiple files like {-1-0.asc, -2-0.asc, ...-5-0.asc}, {-1-1.asc, -2-1.asc, ...-5-1.asc},{-1-3.asc, -2-3.asc, ...-5-3.asc}..and so on.


Table[]? Maybe useStringTemplate[]orStringForm[], too. – J. M.'s missing motivation Jun 17 '16 at 12:35