i would like to create arrays in a batch program, i added all the data as: arr[1] arr[2] arr[3] ... but the output is the tough part, i used: set n=2 echo %arr[%n%]% but that didnt work. is there anything i can do? my idea is to write a file list into that array, then pointing to one of the files. i really dont want to create temp files for this job.