I don’t know how to write a batch file to do something like that but I can give you a really easy way to get a text list of all the files of a certain type. There’s a free file search program called Agent Ransack. It’s a great little search utility but you can also get a list of files. If you want a list of zip files or any file by name or file type/extension on your entire drive or any subdirectory do the search. Search for *.zip for example, then go to the file drop down menu and choose Export results and choose text and it will export a list of the files in your search to a text file. The only problem is, if you don’t want the directory name, that it includes the directory name before the file name, but if you are only doing one directory at a time that information is pretty easy to remove.
So, if what you are trying to do is get a text list/inventory of all the files of a certain type in a certain directory, Agent Ransack will do it for you pretty easily.
There probably is a way to do it using a DOS command of some kind but I don’t remember how and this just seems easier to me, particularly if you’re going deeper and deeper into sub-sub-sub directories, that’s always been pretty tedious in DOS.
If I understand what you want to do I think this will allow you to do it with relatively few headaches.