How do I create a password that timeouts after certain period of time in batch file?

后端 未结 2 1458
长情又很酷
长情又很酷 2020-12-22 09:19

I want to make this code to ask for a password that timeouts after 10 seconds and if you wrote the correct password it goes to :wow but if it\'s incorrect it just continues

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-22 09:24

    You could start a VBS file with a password prompt. http://www.robvanderwoude.com/vbstech_ui_password.php

    The link above links to a page with a password prompt script. You could add a timeout wich would wait for 10 seconds and then close.

提交回复
热议问题