windows - Batch script to read input text file and make text file for each line of input text file -


i having input file in location c:/temp/sample.txt, consists of 1 word in each line of text file. supporting ui, need each line displayed text file in front end. want batch script produce output text files each line of input text file in same folder. can please suggest whether possible make it?

it possible "for" command:

for /f %i in (input.txt) echo. > %i 

use %%i in batch files instead of %i.


Comments