“C:\Program Files (x86)\Java\jre6\bin\keytool.exe”–genkey –v –keystore newkey.keystore –alias newkey –keyalg RSA –validity 10000
or try this:
cd C:\Program Files (x86)\Java\jre6\bin\
keytool –genkey –v –keystore C:\newkey.keystore –alias newkey –keyalg RSA –validity 10000
this will create the file in the top level directory of your C drive. Of if you want it in your home directory:
keytool –genkey –v –keystore %HOMEPATH%\newkey.keystore –alias newkey –keyalg RSA –validity 10000