Why does this work in window10 CMD window but not in a batchfile?
taskkill.exe /f /fi "windowtitle eq Skype™ - email@server.de"
Thank you for any answer.
CMD versus .bat
Moderator: DosItHelp
Re: CMD versus .bat
I assume your batch file was saved in an encoding that isn't equal to your OEM encoding which is used in a console window. Thus, non-ASCII characters (such as ™) will result in wrong characters. Execute CHCP in a CMD window to see what code page is used. Then use the same encoding in your text editor to save the script.
Steffen
Steffen