Quote (feherke)

CODE --> awk

Thanks for this idea.
I testet this with my test procedure, seems to work. Soon I implement it to my real batch.
Unfortunately I have cant solve this as one-liner, but thats not a real problem.

HTF did you know about such features ???
This made my day

### Update ###
Instead of "echo %1" my real script generates several lines, which i like to analyse
with "ARGC = 1" all input-lines are concatenated to one long line and my analysis with $1, $2 ,.. doesnt work any longer...

RE: awk from windows batch

I need to pass my path to awk as command line parameter.
During BEGIN section, this parameter can saved to a variable. Until here the parameter is unchanged.
After this,clearing this parameter seems necessary to avoids further problems, cause awk interprets it later as filenames which may not exist ....