Search found 2 matches

by chadkfranks
03 Jul 2013 10:15
Forum: DOS Batch Forum
Topic: Batch For /f loop passing variables.
Replies: 2
Views: 1936

Re: Batch For /f loop passing variables.

That worked like a charm! Thanks
by chadkfranks
03 Jul 2013 09:53
Forum: DOS Batch Forum
Topic: Batch For /f loop passing variables.
Replies: 2
Views: 1936

Batch For /f loop passing variables.

I created a batch file that I can't get the for /f loop to pass the variable to the rest of the script. Here is the script: @echo Off FOR /f "Tokens=*" %%a in (certs.txt) do echo %%a echo Certificate Name = %1 C:\openssl\bin\openssl pkcs12 -passin pass:cert4wintel -in "c:\ssl\%1.pfx&q...