Success !!
Now i got it !!
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...
This doesnt help, in my real batch the path is output of some windows tools (echo %1 is just a very simplified version of my whole batch ...)
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...
Hello,
I'm using gawk in widows batch to automate several processes.
Now I have an actual problem with passing batch parameters to gawk.
I stripped my problematic batch to a minimum to clarify my problem.
My minimalized batch is called "one.bat" with the following code:
echo %1 |...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.