my execute script : C:\\fortest\\wkhtmltopdf.exe http://localhost:5004/X/Y?a1=1&a2=23 google.pdf
I getting the error
'a2' is not recognized as an internal or external command, operable program or batch file.
by browser its look like that :
I hid some of the data because it could be sensitive
Enclose url in quotes:
C:\\fortest\\wkhtmltopdf.exe "http://localhost:5004/X/Y?a1=1&a2=23" ....