How to enter the password file bat to show *

This is the bat file, but when a password is displayed, can not be allowed to enter the password in order to show an asterisk.
@ Echo off
set ci = 2
echo.
Echo Note:two input Would be wrong to withdraw from.
Echo.
:1
set / p mima = Please enter your password:
if \ “% mima% \” == \ “1234578 \” goto o
set / a ci-= 1
if \ “% ci% \” == \ “0 \” cls & echo.& echo ==== no password would like to come in !!!====& echo.& pause & echo.& exit
cls & echo.& echo you still have% ci% chance & echo.& goto 1
😮
cls & echo.
echo
Reg import D:\ yjl \ u \ usbck.reg
echo = =========== The correct password, the ============
echo.& Pause & exit

ah you need to do a batch of features, not really because of a batch of computer language, but some of the more than a collection of DOS commands.

to DOS in the following input characters are Converted to “*” in the form of keyboard input required to read and write screen, which need to call the DOS interrupt and INT 10H interrupt hardware, so there must be assembly language (or high-level language) with the support of these functions in a real computer language Easy to achieve, but just can not do the DOS command.Enter a password can not show it, an asterisk will not be achieved …

@ echo off
chcp 437> nul & graftabl 936> ; nul
echo hP1X500P [PZBBBfh # b # # fXf-V @ `$ fPf] f3/f1/5 + + u5x> in.com
set / pb = Please enter your password:<nul
for / f “tokens =*”%% i in ( 'in.com') do set b =%% i
del in.com
echo just enter the password is% b%
pause

If there is an asterisk to realize he's invited to, if not please me, I would like to thank ~

Leave a Reply