I am trying to write a batch file to display the license information of the Zend gaurd.
Below is what I came up with the below batch file
set _ver_cmd=zendenc_sign.bat --version
for /F "skip=1" %%G in '%_ver_cmd%' do echo %%G
But when I run it, I get the below error
C:\Program Files\Zend\Zend Guard - 5.5.0\bin>set _ver_cmd=zendenc_sign.bat --version
'zendenc_sign.bat was unexpected at this time.
Update:
Zend Gaurd is a product to prevent reverse engineering of code. zendenc_sign.bat --version
command is used to display the full version details. I need to display only the licence information which is displayed in the second line.