'".. is not recognized as an internal or external command, operable program or batch file." error when running keytool to create SHA1.

'".. is not recognized as an internal or external command, operable program or batch file." error when running keytool to create SHA1.
To login with Facebook, I had to create a SHA1 signature for my application when I started using the Facebook API. When I tried to prepare this signature according to the instructions, I got the following error.
First of all, this was the code I had to run for the Facebook API.
keytool -exportcert -alias androiddebugkey -keystore "C:\Users\USERNAME\.android\debug.keystore" | "PATH_TO_OPENSSL_LIBRARY\bin\openssl" sha1 -binary | "PATH_TO_OPENSSL_LIBRARY\bin\openssl" base64
When I get this code in the proper format and run it, the following error occurs.As a solution to this problem, I wrote that path, thinking that it wanted the path of the openssl.exe program in that folder, not the path to the openssl folder. And as a result, the problem was solved.