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

1 Answer 1

0

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

3
  • 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. Commented Jun 25, 2015 at 14:47
  • Ok, I re-wrote it by hand instead of copy-paste... and it worked! Commented Jun 25, 2015 at 15:03
  • You don't need the word 'run' in the command just "encrypt -g test" Commented Jun 25, 2015 at 20:05

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.