|
杨上当
初级用户
 
积分 186
发帖 17
注册 2003-4-12
状态 离线
|
『楼 主』:
[求助]在DOS下如何一次给所有子目录改变属性?
使用 LLM 解释/回答一下
请问大侠:
一、在DOS下如何给 所有子目录改变属性?
二、有没有可能在批处理文件的执行中要求用户输入密码才继续执行下去?
May I ask the experts:
1. How to change the attributes of all subdirectories under DOS?
2. Is it possible to require the user to enter a password to continue execution during the execution of a batch file?
|

偶是新手,恳请各路大侠多多指正! |
|
2003-4-14 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
ATTRIB 就可以了,例如:
ATTRIB +S C:\DOS
要在批处理文件中使用密码,可以使用一些批处理增强工具,例如STRINGS,WBAT等.
ATTRIB is sufficient, for example:
ATTRIB +S C:\DOS
To use passwords in batch files, some batch enhancement tools can be used, such as STRINGS, WBAT, etc.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-4-14 00:00 |
|
|
杨上当
初级用户
 
积分 186
发帖 17
注册 2003-4-12
状态 离线
|
『第 3 楼』:
谢谢站长的回复!但我还有问题
使用 LLM 解释/回答一下
我希望能够一次把某目录下的所有子目录设为隐藏属性,用attrib能办到吗?
在站长的网站中有那么多的DOS软件,我真的无从下手丫!对于一个初学者,要从哪里开始学才好呢?
Can I use attrib to set all subdirectories in a certain directory to hidden attributes at once? There are so many DOS software on the webmaster's website, I really don't know where to start! For a beginner, where should I start learning?
|

偶是新手,恳请各路大侠多多指正! |
|
2003-4-15 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
对于通配文件夹(目录)名,MS-DOS自带的ATTRIB办不到,但用我的MS-DOS 7.10启动盘中的那个ATTRIB命令加上/D参数就可以办到了:
http://newdos.yginfo.net/dosware/mdos71bd.zip
对于DOS的学习,和大家交流是最好的学习办法,可以共同进步.
For wildcard folder (directory) names, the built-in ATTRIB in MS-DOS can't do it, but the ATTRIB command in my MS-DOS 7.10 boot disk with the /D parameter can:
http://newdos.yginfo.net/dosware/mdos71bd.zip
For learning DOS, communicating with everyone is the best way to learn, and we can progress together.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-4-15 00:00 |
|
|
杨上当
初级用户
 
积分 186
发帖 17
注册 2003-4-12
状态 离线
|
『第 5 楼』:
多谢版主,我一定要学好!
使用 LLM 解释/回答一下
将来我肯定还有许多问题要问的,版主可别怕烦哦!有机会一定请你喝茶,要赏脸哟!
In the future, I will definitely have many more questions to ask. Moderator, don't be afraid of being troubled! If there's a chance, I will definitely invite you for tea. Please be so kind as to accept!
|

偶是新手,恳请各路大侠多多指正! |
|
2003-4-15 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
好吧,欢迎提问!
Okay, welcome to ask questions!
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-4-15 00:00 |
|
|
杨上当
初级用户
 
积分 186
发帖 17
注册 2003-4-12
状态 离线
|
『第 7 楼』:
这个方法对吗?
使用 LLM 解释/回答一下
偶然看到一篇文章说只要在批处理文件中加上:
@echo off
choice /c:(密码)/n就等于为批处理文件的运行上了一道锁,不知这是什么原理?这个方法会不会被人破解?
I accidentally saw an article saying that just adding in the batch file:
@echo off
choice /c:(password)/n is equivalent to putting a lock on the running of the batch file. I wonder what the principle is? Will this method be cracked by others?
|

偶是新手,恳请各路大侠多多指正! |
|
2003-4-16 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
这样设密码自然可以被轻易破解,按Ctrl+Break键就行了.
This password setting can naturally be easily cracked, just press the Ctrl+Break key.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-4-16 00:00 |
|
|
杨上当
初级用户
 
积分 186
发帖 17
注册 2003-4-12
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
这回我可不赞同版主的说法了!
用choice /c:(密码)/n的语法设置密码,目的就是为了阻止他人运行该批处理文件,而版主您说只要按Ctrl+Break键即可轻易破解,试问:难道您按了之后可以继续运行该批处理文件吗?非也!按Ctrl+Break键的作用是终止运行,而不是跳过密码这一关去继续运行!这就是说,版主您在不输入正确密码的情况下是无法运行我的批处理文件的!
哈哈,如果版主您不拿出别的方法来的话,这第一回合可就算我赢啦!
This time I don't agree with the moderator's statement!
The syntax of using choice /c:(password)/n is set to prevent others from running this batch file. But you said that pressing Ctrl+Break key can easily crack it. Let's ask: Can you continue to run this batch file after pressing it? No! The function of pressing Ctrl+Break key is to terminate the operation, not to skip the password and continue running! This means that you can't run my batch file without entering the correct password!
Haha, if the moderator doesn't come up with other methods, then I win this first round!
|

偶是新手,恳请各路大侠多多指正! |
|
2003-4-16 00:00 |
|
|
fangxb
初级用户
 
积分 132
发帖 10
注册 2003-3-28
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
可以改了你的批处理呀,楼上的
You can modify your batch script, the person above.
|
|
2003-4-17 00:00 |
|
|
杨上当
初级用户
 
积分 186
发帖 17
注册 2003-4-12
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
以下是引用fangxb在2003-4-17 10:26:35的发言:
可以改了你的批处理呀,楼上的
那是那是!
我只能修改注册表禁止运行所有程序了。详见我的帖子《利用批处理文件一键锁定计算机》:http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=12&ID=1814
The following is a quote from fangxb on 2003-4-17 10:26:35:
You can modify your batch file, the person above.
That's right!
I can only modify the registry to prohibit running all programs. Please refer to my post "One-click Lock Computer Using Batch File": http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=12&ID=1814
|

偶是新手,恳请各路大侠多多指正! |
|
2003-4-17 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
是在DOS下运行呀,见我这儿的回复:
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=12&ID=1870
It is running under DOS, see my reply here:
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=12&ID=1870
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-4-17 00:00 |
|
|
energy
初级用户
 
积分 108
发帖 1
注册 2003-4-18
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
点样在DOS下打开网上邻居的共享文件啊
还有 点样在DOS下运行 在WINDOWS下安装的瑞星杀毒软件 啊
我听别人说在DOS下杀毒 其实是什么一会事啊
点样在DOS下听MP3呢/
请指教
How to open shared files from Network Neighborhood under DOS?
Also, how to run Rising Antivirus software installed under Windows under DOS?
I heard from others that antivirus under DOS is actually what kind of thing?
How to play MP3 under DOS?
Please give instructions
|
|
2003-4-18 00:00 |
|
|
如是大师
元老会员
         步行的人
积分 9654
发帖 3351
注册 2003-3-11 来自 湖北
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
13楼的单独发新贴吧。
Start a new thread separately on floor 13.
|

弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾 |
|
2003-4-18 00:00 |
|
|
无妄★模拟
初级用户
  蝎蛇统领
积分 280
发帖 35
注册 2003-5-21
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
你说的也不对,你可以将键盘上的键逐个实验,保证能打开的,我就实验过!
因为那个密码只能是一个或多个的组合,只要你按对其中的一个字母就可以
继续运行了,根本就是虎人的————吓吓小孩还可以,对高手就没有作用了!
你可以去试试!它只是一个纸老虎!
What you said is not right either. You can experiment with each key on the keyboard one by one. I've experimented because that password can only be a combination of one or more, and as long as you press the right letter, you can continue running. It's completely scaring people—just scares kids, no use for experts! You can go try it! It's just a paper tiger!
|

我是菜鸟,我要变成老鸟!
www.10.164.63.101.com |
|
2003-5-27 00:00 |
|