echo off echo Please paste folder with files to identify: echo ************************** set /p inputfolder= folder : for /r "%inputfolder%\" %%X in (*.*) do ( echo new File >> gfindings.txt echo TRId Findings >> govDocs.txt trid "%%X" >> govDocs.txt ) Pause