中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-17 13:09
47,814 topics / 349,905 posts / today 2 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » Help!!!!!How to set a password to enter DOS?
Printable Version  2,957 / 12
Floor1 ch0ngch0ng Posted 2005-08-16 13:48
新手上路 Posts 1 Credits 3
How to set a password to enter DOS?
Floor2 chenhui530 Posted 2005-08-16 16:33
高级用户 Posts 273 Credits 772
Just add a judgment in AUTOEXEC.BAT, but you need to provide an input device, such as WABT or something like that
Floor3 cheng059830 Posted 2005-08-16 20:38
初级用户 Posts 15 Credits 46
Can you explain it in detail?
Floor4 Michael Posted 2005-08-16 21:17
钻石会员 Posts 3,041 Credits 10,056
You need to disable Ctrl+C first, heh.
Floor5 chenhui530 Posted 2005-08-17 13:27
高级用户 Posts 273 Credits 772
call w.bat box (+white on +blue) @autoexec.bat:mima
boff>nul
if errorlevel 100 goto next
if errorlevel 4 off.com
if errorlevel 3 restart.com
if errorlevel 2 goto find
:mima
※※※※※※※密码管理程序※※※※※※※[x]
※**************************************※
※* 请输入管理员密码:[$w,8 ] *※
※* ---------------------------------- *※
※* [确定(&O)] [重启(&R)] [关机(&S)] *※
※**************************************※
※※※※※※※※※※※※※※※※※※※※※
::
....


This is a password program I wrote myself. You can put boff earlier for more security
Floor6 Climbing Posted 2005-08-17 14:22
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
Pure DOS doesn't have encryption functions. It's possible to make a DOS shell by yourself.
Floor7 Michael Posted 2005-08-17 19:45
钻石会员 Posts 3,041 Credits 10,056
F4......F5...... can all make the DOS start cleanly.
Floor8 cheng059830 Posted 2005-09-19 14:45
初级用户 Posts 15 Credits 46
Originally posted by chenhui530 at 2005-8-17 13:27:
call w.bat box (+white on +blue) @autoexec.bat:mima
boff>nul
if errorlevel 100 goto next
if errorlevel 4 off.com
if errorlevel 3 restart.com
if errorlevel 2 goto find
:mima
※※※※†...


Can you explain it in detail? Also, what is the content of w.bat? Can you make it public?
Floor9 yhcamel Posted 2005-09-20 15:36
初级用户 Posts 8 Credits 26
Floor10 yhcamel Posted 2005-09-20 15:39
初级用户 Posts 8 Credits 26
E:\>autoexec1

E:\>call w.bat box (+white on +blue) @autoexec.bat:mima

E:\>boff1>nul
'boff' is not an internal or external command, nor is it a runnable program
or batch file.

E:\>if errorlevel 100 goto next
The system cannot find the specified batch label - next

E:\>
Floor11 heilong240 Posted 2007-03-28 11:13
新手上路 Posts 1 Credits 2
Floor12 wzsunlight Posted 2007-03-28 17:53
初级用户 Posts 52 Credits 107
Agreed
Floor13 Kinglion Posted 2007-03-28 22:00
铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室
First, in order to achieve real security, it is necessary to modify IO.SYS first to block the function of pressing the F8 key during boot to enter the boot selection menu. Second, load a program to block the keyboard according to the instructions in CONFIG.SYS. When a password needs to be entered, first allow keyboard input, and then immediately start the password verification program. When writing this program, code to prevent CTRL+C should be added.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023