China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-22 14:57
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Code for batch input password without displaying characters View 22,856 Replies 64
Floor 61 Posted 2008-10-25 17:47 ·  中国 江西 南昌 电信
初级用户
Credits 61
Posts 22
Joined 2008-10-19 17:15
17-year member
UID 128768
Gender Male
Status Offline
Hehe, using assembly language. If you are familiar with assembly, you will conquer batch processing. Batch processing has an advantage, which is to be compatible with some high-level languages. Whether it is assembly, vbs, or C language, they can all be used together.
Floor 62 Posted 2009-01-12 21:02 ·  中国 福建 三明 电信
高级用户
★★
论坛上抢劫的
Credits 551
Posts 246
Joined 2006-09-21 12:35
19-year member
UID 63270
Status Offline
This article has been robbed!
Floor 63 Posted 2009-01-27 22:10 ·  中国 广东 东莞 电信
新手上路
Credits 17
Posts 9
Joined 2008-02-16 17:41
18-year member
UID 110791
Gender Male
Status Offline
Okay! I've seen the previous passwords!
Floor 64 Posted 2009-01-30 16:09 ·  中国 广东 佛山 顺德区 电信
高级用户
★★
学无尽止
Credits 635
Posts 244
Joined 2006-04-15 05:07
20-year member
UID 53857
Gender Male
From 广西贵港
Status Offline
Originally posted by PPdos at 2007-1-21 22:24:

@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0|set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%" ...





这样就不会了:

@echo off
title 出现表示 输入超时请按回车继续:
:begin
PING 127.0 -t |set /p pwd=请输入密码:&cls>con
set /p pwd=
cls&echo 密码为:%pwd%
if "%pwd%"=="" cls&goto begin
pause>nul
学无尽止
Floor 65 Posted 2009-02-12 21:21 ·  中国 甘肃 张掖 电信
初级用户
Credits 47
Posts 27
Joined 2008-06-23 22:44
17-year member
UID 120749
Gender Male
From 甘肃. 武威
Status Offline
Learned it, bookmarked for later use. Thanks, LZ!
好好学习,
天天向上。
‹ Prev 1 3 4 5
Forum Jump: