


Rem setlocal enableDelayedExpansion : necessary for paths containing special chars :: also see keytool2.bat that automatically adds the following parameters in the keytool command line : -v -list -keystore, for quick display of jks off :: else, add the folder containing this bat script to your personal path or put this script in any folder already defined in your path

:: easy method : add the known keytool.exe folder to your personal PATH variable (run : C:\Windows\System32\rundll32.exe sysdm.cpl,EditEnvironmentVariables) In case the location is wrong the bat file will scan your system to detect potential locations in ProgramFiles (sub)folders.Īlso find keytool2.bat, a convinient shortcut for "keytool -v -list -keystore", which is widely used to quickly check the content of a jks file. then simply use keytool command in any Windows shellĪctual location of keytool is defined in the bat file.copy the bat file below in any folder already present in your PATH environment variable.
