|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『楼 主』:
修复:DIR /S
使用 LLM 解释/回答一下

dir/s是干吗的知道吗?
知道?
那么,假如有一个隐藏目录,上面的命令能列出来吗?
如果你在win98下打这个命令,结果显然不行。
不过,我们只要修改一下command.com就可以了~
打开command.com(当然是用十六进制编辑器)
定位到:a348H偏移处
把10改为16
保存退出。
重新加载command.com
dir/s试试看~

:P
What does `dir/s` do you know?
Know?
Then, if there is a hidden directory, can the above command list it out?
If you type this command under win98, the result is obviously not possible.
However, we can just modify command.com~
Open command.com (of course, using a hex editor)
Locate to: offset at A348H
Change 10 to 16
Save and exit.
Reload command.com
Try `dir/s`~
:lol:
|
|
2005-11-23 16:52 |
|
|
darkradx
高级用户
   
积分 972
发帖 420
注册 2004-5-16
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
要改兩處(另外,大部份DOS啟動盤附帶的都是已經改過的)
EWIN98SE:A2B2,A2BE
PWIN98SE:A348,A354
Need to modify two places (Also, most DOS boot disks come with the ones that have already been modified)
EWIN98SE:A2B2,A2BE
PWIN98SE:A348,A354
|

平生进退如飙风 |
|
2005-11-23 17:54 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
嗯,不错。支持一下!
Well, not bad. Give it a thumbs up!
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-11-23 19:27 |
|
|
lanyu008
新手上路

积分 13
发帖 7
注册 2005-12-12 来自 广西柳州
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
看不懂~~~
什么是定位
偶是新手
I can't understand~~~
What is positioning
I'm a newbie
|
|
2005-12-12 00:45 |
|
|
人类
中级用户
  
积分 306
发帖 81
注册 2003-5-10
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
楼主dos没学透
dir/adh/s 或 dir/ads/s即可
Last edited by 人类 on 2005-12-16 at 22:00 ]
The owner of the post hasn't fully learned DOS.
dir/adh/s or dir/ads/s is okay.
Last edited by 人类 on 2005-12-16 at 22:00 ]
|

玩DOS,还是我76年出生的人熟... |
|
2005-12-16 02:57 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
Originally posted by 人类 at 2005-12-16 02:57:
楼主dos没学透
dir/adh/s 或 dir/adh/s即可
Last edited by 人类 on 2005-12-16 at 03:00 ]
呵呵,原来dir的参数还可以这样搭配!<img src="images/smilies/face-wink.png" align="absmiddle" border="0"> 好,我记住了。
Originally posted by Human at 2005-12-16 02:57:
The LZ didn't fully learn DOS
dir/adh/s or dir/adh/s will do
Last edited by 人类 on 2005-12-16 at 03:00 ]
Hehe, I see that the parameters of dir can be combined like this! ;) Well, I've remembered it.
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-12-16 19:58 |
|
|
Michael
钻石会员
       
积分 10046
发帖 3039
注册 2002-11-11
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
楼主只不过没有描述清楚自己想描述的问题。
问题是这样的:
当你试图用dir filename /s /a搜索一个文件时,如果此文件在隐藏目录中,则无法找到。
而dir /adh /s只不过是显示所有的隐藏目录。至少从语法上看是如此。
Last edited by Michael on 2005-12-16 at 20:36 ]
The LZ just didn't describe the problem he wanted to describe clearly.
The problem is like this:
When you try to use dir filename /s /a to search for a file, if this file is in a hidden directory, it cannot be found.
And dir /adh /s just displays all hidden directories. At least it seems so from the syntax.
Last edited by Michael on 2005-12-16 at 20:36 ]
|

简单就是美 |
|
2005-12-16 20:33 |
|
|
人类
中级用户
  
积分 306
发帖 81
注册 2003-5-10
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
原来楼主不是dos没学透,而是语文没学好。知道学语文是干什么用的了吧。
在xp的CMD中dir/s能穿透隐藏目录,98中我没试。
So the original poster didn't not master DOS well, but had a poor command of Chinese. Now you know what learning Chinese is for.
In the CMD of XP, dir/s can penetrate hidden directories, and I didn't test it in 98.
|

玩DOS,还是我76年出生的人熟... |
|
2005-12-16 22:07 |
|
|
lpclimber
初级用户
 
积分 168
发帖 85
注册 2005-8-26
状态 离线
|
|
2005-12-16 23:33 |
|
|
lfdjssz
初级用户
 
积分 125
发帖 72
注册 2005-9-13
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
好啊,又学习了东西,向各位致敬!
Okay, I've learned something again, salute to everyone!
|
|
2006-1-2 16:45 |
|
|
taoty
中级用户
   传说中的菜鸟
积分 275
发帖 112
注册 2005-4-22
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
f真是太好了,又学了一手。谢谢分享。
That's really great, learned another trick. Thanks for sharing.
|
|
2006-1-2 20:34 |
|
|
zhri1980
初级用户
 
积分 52
发帖 26
注册 2006-1-3
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
晕~~~
玩玩的竟然这么当真。
/a参数用来显示带特殊属性的文件或目录
/s用来来访问下级子目录
仅仅这样而已。
dir/a/s就行了。
还是楼主的有创意~~~
Oh~~~
Just for fun but taken so seriously.
The /a parameter is used to display files or directories with special attributes
/s is used to access subdirectories at the next level
That's all.
Just dir/a/s.
The original poster is still creative~~~
|
|
2006-1-3 17:10 |
|
|
darkradx
高级用户
   
积分 972
发帖 420
注册 2004-5-16
状态 离线
|
|
2006-1-3 18:26 |
|
|
whwei2008
新手上路

积分 2
发帖 1
注册 2006-1-4
状态 离线
|
|
2006-1-4 11:57 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『第 15 楼』:
呵呵,我竟然成了没学语文了?
使用 LLM 解释/回答一下
本来我想DIR/S的意义谁都知道,所以就简略了几句嘛!
我的目的就是让:DIR/S 能显示所有的下级目录(文件)
如果只是要“显示所有的隐藏目录“ ,题目就不会叫《修复DIR/S》了。
你们说是吧?
Originally, I thought everyone knew the meaning of DIR/S, so I kept it brief!
My goal is to make DIR/S display all subdirectories (files).
If it were just to "display all hidden directories", the title wouldn't be "Repairing DIR/S".
Don't you think so?
|
|
2006-1-4 22:54 |
|