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.
Problem with .bat
Moderator: DosItHelp
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Problem with .bat
Somehow, several of your dashes have become Unicode characters. Either rewrite the code by hand, or copy the dash from "-decrypt" onto the other dashes, since that one was unchanged.