Problem with .bat
Posted: 03 Sep 2020 00:54
Dear Forum,
I've this code in the batch file:
#start code batch file
cd\
cd C:\SOGEI_enviroment
openssl smime -decrypt –in RICEZIONE/dati.p7m.enc –inform der –binary -out RICEZIONE/dati.p7m.zip –recip CERTS/cifra.pem -passin:password
exit
when I launch the batch file the code is transformed like this:
C:\SOGEI_enviroment\LIB\BATCH>cd C:\SOGEI_enviroment
C:\SOGEI_enviroment>openssl smime -decrypt ÔÇôin RICEZIONE/dati.p7m.enc ÔÇôinform der ÔÇôbinary -out RICEZIONE/dati.p7m.zip ÔÇôrecip CERTS/cifra.pem -passin pass:passowrd
while if I write it by hand on cmd the code is not changed.
The code is encoded in UTF 8 but even in ANSI it doesn't work for me.
I've this code in the batch file:
#start code batch file
cd\
cd C:\SOGEI_enviroment
openssl smime -decrypt –in RICEZIONE/dati.p7m.enc –inform der –binary -out RICEZIONE/dati.p7m.zip –recip CERTS/cifra.pem -passin:password
exit
when I launch the batch file the code is transformed like this:
C:\SOGEI_enviroment\LIB\BATCH>cd C:\SOGEI_enviroment
C:\SOGEI_enviroment>openssl smime -decrypt ÔÇôin RICEZIONE/dati.p7m.enc ÔÇôinform der ÔÇôbinary -out RICEZIONE/dati.p7m.zip ÔÇôrecip CERTS/cifra.pem -passin pass:passowrd
while if I write it by hand on cmd the code is not changed.
The code is encoded in UTF 8 but even in ANSI it doesn't work for me.