When I start cmd.exe on windows XP and do this:
łłłłąłąłłł [enter]
command.com [enter]
asdfgąłś [enter]
exit [enter]
łąśś [enter]
Everything works as intended. But when I do the same thing on windows 7, this is what happens:
łłłłąłąłłł [enter]
command.com [enter]
asdfg [enter]
//ąłś no longer available exit [enter]
lass [enter]
//łąśś appears as lass, from now on cmd.exe has no special characters available. Does anyone know what is happening here? Why win7 behaves in this strange way? Is there anything I can do about it?
To correctly handle this characters, you need a specific pagecode. You can test which pagecode it is with chcp
command.
If you start command.com
(the 16bit DOS command processor) that pagecode can change, and when you exit from command.com
the pagecode will not be the same. Try
chcp [enter]
command.com [enter]
chcp [enter]
chcp [enter]
exit [enter]
chcp [enter]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.