question

HsuYaoChang-3988 avatar image
0 Votes"
HsuYaoChang-3988 asked DSPatrick edited

Bat file. If Reg Key exists than goto...

Hi,
How to use bat to check adobe reader version , I run as below. But it fail to work
reg query "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\"

 if %ERRORLEVEL% EQU DC goto VIRTUAL
 if %ERRORLEVEL% EQU XI goto PHYSICAL
    
 pause
    
 :PHYSICAL
 CLS
 ECHO NO
 Pause
    
 :VIRTUAL
 CLS
 ECHO YES
 PAUSE
not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers