Batch file help________?

relating to a wording file along with its a new wordlist such as this

abc123
xasfa324
dsgsdg
daafs

(but its quite a bit longer)

and i desire to make it for instance this

“abc123”,
“xasfa324”,
“dsgsdg”,
“daafs”,

i thought batch will be the best option to try and do it although i dont realize the syntax

You can perform that on this Batch document:

reveal off
if exist result.txt delete output.txt
intended for /f “tokens=*” %%a throughout (input.txt) perform echo “%%a”>> result.txt

Additional details, variety FOR /

Respect…

Use powershell scripting, it’s additional powerful in comparison with batch files:

Get-Content reviews.txt NOUGHT PER CENT Add-Content end product.txt “”$_”, ”

That will do what you are asking.I have no idea the the same batch format.If of which string is a bit very difficult to learn, it’s:

double-quote — back-tick — double-quote — money — underscore — back-tick — double-quote — comma — double-quote.

Leave a Reply