Super User Asked by Moreno on October 9, 2020
I need to create a Batch file that create another batch file.
The first bat read some name in a txt file and write a break. command for every row founded in that txt.
So i can run the second bat file when i need and automatically create all the file i need.
The txt file looks like this and is generated periodically from a site
Name: Description:
cps3_custom "CPS3 Custom Sound"
cps3bootao "CPS3 Multi-game bootleg for dead security cart (older)"
[...]
Editing some code i found online i made this code:
@(for /F "usebackq skip=1 eol=|" %%I in ("%~dp0MAME search - ADB.txt") do @echo break.>%%I.zip) >"Create Dummy files.bat"
but instead creating a bat file with all the break command it create directly all the dummy-zip file and a useless void bat file.
How can i prevent that code to being executed??
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP