[SalesForce] Error while encrypting password

I am trying to encrypt the password using command

encrypt -e mypassword "D:\SFDC_docs\Salesforce-connectivity\try\Key.txt"

but getting error as

" security.EncryptionUtil main (EncryptionUtil.java:289) – Invalid
option format: ûe".

I need this to use command line data loader. Please help. Please dont mark it as duplicate as the solutions given in other threads are not working for me.

Best Answer

I guess you copy pasted command encrypt.bat -e "C:\temp\key.txt" from some website.

It should be minus sign instead of dash, Can you try to type it and run it. You may find some helping steps here as well.

Related Topic