AkiraKenshin
Programmer
Basically, I wanted to read several files into the parameter for a program and instead of writing them all out in the FOR statement, I wanted to have them on a single line in another file in case i'll need to use them again.
For example:
for %%f IN (list) DO c:\program\program.exe include %%f
Where the list is taken from an external text file, say for example it read
abm.pif, profile.pif, afig.pif
and i wanted that exact line in the (list).
whats the easiest way i can accomplish this? I've heard a bit about making temp program/files but it didn't quite make sense to me. Is it also possible to have the file list them each item to a line?
For example:
for %%f IN (list) DO c:\program\program.exe include %%f
Where the list is taken from an external text file, say for example it read
abm.pif, profile.pif, afig.pif
and i wanted that exact line in the (list).
whats the easiest way i can accomplish this? I've heard a bit about making temp program/files but it didn't quite make sense to me. Is it also possible to have the file list them each item to a line?