Forum: Windows NT / 2000 / XP Jan 27th, 2007 |
| Replies: 22 Views: 3,529 I did not change the syntax. Its how variables are defined in Windows batch shell.
If you open a command prompt and work your batch commands from there using for loops, you have to use %i (or some... |
Forum: Windows NT / 2000 / XP Jan 27th, 2007 |
| Replies: 22 Views: 3,529 you got to run it in a batch file. If you run the for loop in a command shell, change %%i to %i
For ex, on command line
C:\test>@echo off
for /F %i in (file.txt) do echo %iweb
helloweb... |
Forum: Windows NT / 2000 / XP Jan 27th, 2007 |
| Replies: 22 Views: 3,529 if all you need is to add a specific word to the end of each line (which contains one word ), then a batch file will suffice. An example
@echo off
for /F %%i in (file.txt) do echo %%iweb
This... |