L
L
lyohalyoha792021-07-06 14:09:59
Text Processing Automation
lyohalyoha79, 2021-07-06 14:09:59

How to create text files from list to .txt?

Hello! Maybe someone knows a little program that can create several text files with names from .txt from a .txt file with a list inside.
For example: inside .txt there is a list:
Monday
Tuesday
Wednesday
, etc. And you need the program to create files
Monday.txt
Tuesday.txt
Wednesday.txt
, etc. Maybe through a batch file you can somehow implement this. Tell me, please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Akina, 2021-07-06
@Akina

for /f %x in (file.txt) do echo.>%x.txt
The encoding of the text file must match the encoding of names in the file system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question