I don't understand why while I generate new batch file from primary file one parameter (%%A) automatically changes to single (%A)

Prime batch file:

```
echo FOR %%A in (1k\*.txt) do ... (whatever) >> another.bat

```

As result I become a new another.bat with single line:

```
FOR %A in (1k\*.txt)

```

And this another.bat doesn't work. How can I solve this problem?

Thanks!