loops - Set line as variable then execute script -
i'm working on script:
@echo off /f "tokens=*" %%f in (filenames.txt) set filename=%%f echo %filename% pause the problem echos last line in "flienames.txt" , need them in order 1 one.
here can read more loops in batch-file. in case code should this:
@echo off setlocal enabledelayedexpansion /f "tokens=*" %%f in (filenames.txt) ( set filename=%%f echo !filename! ) pause
Comments
Post a Comment