Hi Michał, > Wolf, wish they could have. My idea is that I could put a Batch script > in every game's directory where we can do simple things like start the > game or run the setup, or regenerate the config to a known working > state. In order to find games dynamically, rather than have a list of > games written down in a file, I wanted to run SEARCH C:\GAMES START.BAT, > but that started listing absolutely everything on C:\. When I tried > doing SEARCH C:\GAMES\**\START.BAT, it printed some nonsense. How can I > properly use the SEARCH command?
Don't use SEARCH. (I didn't even know it exists.) Just use DIR and assume a START.BAT being present in every directory: dir c:\games /b dir c:\games /b /p- <-- do not paginate output Cheers, Robert -- BTTR Software https://www.bttr-software.de/ DOS ain't dead https://www.bttr-software.de/forum/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user