Let's discuss quite a simple task today. Imagine: you need to change each line in a text file by adding quotes to it. I mean you want to get from list like listitem1, listitem2, listitem3... list like "listitem1", "listitem2", "listitem3". This is quite a simple task, and the script solution looks like this:@echo off
for /f "usebackq tokens=*" %%c in ("about.txt") do (
echo "%%c",>> about1.txt
)
As far as you can see, it's not difficult to write this script with help of our award-winning batch files editor. Hope you'll find this small example useful.
for /f "usebackq tokens=*" %%c in ("about.txt") do (
echo "%%c",>> about1.txt
)
As far as you can see, it's not difficult to write this script with help of our award-winning batch files editor. Hope you'll find this small example useful.
No comments:
Post a Comment