2

While running encrypt .bat -g test on the command prompt.

I am getting following error : 2014-03-20 19:55:51,549 INFO [main] security.EncryptionUtil main (EncryptionUti l.java:289) - Invalid option format: .bat

0

In the bin directory just run encrypt -g test. Don't include the .bat bit.

|improve this answer|||||
  • It doesn't work for me. I've tried with "run encrypt -g test" and with "run encrypt.bat -g test", but I continue getting the same error 289. – Andrea Ianni ௫ Jun 25 '15 at 14:47
  • Ok, I re-wrote it by hand instead of copy-paste... and it worked! – Andrea Ianni ௫ Jun 25 '15 at 15:03
  • You don't need the word 'run' in the command just "encrypt -g test" – Richard Durrant Jun 25 '15 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.