@echo offsetlocal enabledelayedexpansion:: Output fileSet _oFile=Names.txt:: Directory with python filesSet _Path=C:/Program Files/Infogrames/Robot Arena 2/Arenas (Change if necessary to the location of your arenas folder. Oh, and delete this bracketed stuff in the actual file. And the space before it.):: Used to search and output your filesPushD "%_Path%"FOR /F "tokens=*" %%I IN ('dir /b /a-d *.py') DO ( For /F "tokens=1* delims== " %%a In ('Type "%%I"^|findstr /B /I /C:" name"') Do ( echo.%%~b|findstr /B /I /V /C:"Practice Arena" /C:"Event Results" /C:"No Name" /C:"Small Arena No Hazards" /C:"Electric Arena 2T">nul If !errorlevel!==0 echo.%%~b>>%_oFile% ))PopD
ALERT- Another WS coming up...
I'm fine with hugging reier
For once the mods did something right
nice work GK, I read the code on my phone so I may be wrong :P but if it works how I think it works it could be a useful debug tool.I started a study in Python as a class but then a place for Graphic Design opened up and I took that option as its my ambitionMadiaba still has taught me a lot of python..