コマンドプロンプトからTomcatのサービスオプションを確認する

>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\Tomcat6\Parameters\Java" /v Options | findstr iso
>echo %ERRORLEVEL%
1

>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\Tomcat6\Parameters\Java" /v Options | findstr 932
    Options    REG_MULTI_SZ    -Dcatalina.base=C:\installdir\tomcat\0-Dcatalina.home=C:\installdir\tomcat\0-Djava.endorsed.dirs=C:\installdir\tomcat\endorsed\0-Djava.io.tmpdir=C:\installdir\tomcat\temp\0-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager\0-Djava.util.logging.config.file=C:\installdir\tomcat\conf\logging.properties\0-Djava.file.encoding=CP932

>echo %ERRORLEVEL%
0