|
gmy
版主
        操作系统爱好者
积分 1113
发帖 392
注册 2002-11-11
状态 离线
|
『楼 主』:
建立在资源管理器里看不见的绝对隐藏目录!
使用 LLM 解释/回答一下
上次支持 d:\abc. 的DOSLFN 已经下载,很好用。
但不支持 d:\..\ 这样的目录!
因为在无忧论坛上发现 md d:\..\ 这个技巧 (资源管理器看不到,即便“显示所有文件”也看不到,很绝!)
用 DIR /X /AD /P 可同时显示 d:\.. 其实就是 d:\e2e2~1。
于是
md d:\...\
md d:\....\
md d:\.....\
。。。。。
发现最多可以建立 含有253个点 的字符,但仅有2个点即 d:\.. 是隐藏的,大于3个点 就与 d:\abc. 的属性一样了(在资源管理器里能够看见)!
请 Wengier 再次修改 DOSLFN,以在纯DOS下支持:
如 md d:\. 就可以建立d:\e2e2~1这样的绝对隐藏目录。
Last edited by gmy on 2006-6-13 at 09:19 ]
The last supported DOSLFN for d:\abc. has been downloaded and it works well.
But it doesn't support directories like d:\..\!
Because I found the trick of md d:\..\ on the Wuyou Forum (it's not visible in Explorer, not even when "Show all files" is on, very clever!).
Using DIR /X /AD /P can simultaneously display d:\.. which is actually d:\e2e2~1.
So
md d:\...\
md d:\....\
md d:\.....\
......
It's found that up to 253 dots can be included in the characters, but only 2 dots, i.e., d:\.. is hidden, and when there are more than 3 dots, it has the same attributes as d:\abc. (visible in Explorer)!
Please have Wengier modify DOSLFN again to support in pure DOS:
For example, md d:\. can create an absolutely hidden directory like d:\e2e2~1.
Last edited by gmy on 2006-6-13 at 09:19 ]
|

DOS之家 http://doshome.com 站长 葛明阳 |
|
2006-6-12 09:38 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
Originally posted by gmy at 2006-6-12 09:38 AM:
请 Windier 再次修改 DOSLFN,以在纯DOS下支持: ...
是找我吗?我可不叫Windier哦。如果是的话,请先修正一下,谢谢。
Originally posted by gmy at 2006-6-12 09:38 AM:
Please ask Windier to modify DOSLFN again to support in pure DOS: ...
Is it looking for me? My name isn't Windier. If so, please correct it first, thank you.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-6-12 11:47 |
|
|
Michael
钻石会员
       
积分 10046
发帖 3039
注册 2002-11-11
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
我猜是找你的,Wengier。
I guess it's for you, Wengier.
|

简单就是美 |
|
2006-6-12 13:00 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
|
2006-6-12 13:36 |
|
|
gmy
版主
        操作系统爱好者
积分 1113
发帖 392
注册 2002-11-11
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
是的,就是站长Wengier,请修改一下DOSLFN(在上次修改版的基地上再次修改,以便 MD 两种带.模式的目录都支持)
Yes, it's the webmaster Wengier. Please modify DOSLFN (modify it again based on the previous modified version so that both MD modes with. are supported)
|

DOS之家 http://doshome.com 站长 葛明阳 |
|
2006-6-13 09:23 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
    『第 6 楼』:
使用 LLM 解释/回答一下
Originally posted by gmy at 2006-6-13 09:23 AM:
是的,就是站长Wengier,请修改一下DOSLFN(在上次修改版的基地上再次修改,以便 MD 两种带.模式的目录都支持)
那好吧,不过请注意不要再把名字写错了,谢谢。
刚才已对DOSLFN进行了进一步修改,现在已可以分别使用:
md ..
md ...
md ....
等命令来建立..、...、....等特殊形式的目录。不过说明一下,由于子目录中已存在..这个目录,而目录名正常情况下必须是唯一的(否则的话纯粹是BUG),所以只可以在根目录下使用"md .."以在根目录下建立".."这个新目录,而不应用在子目录上。至于...、....等目录则在所有目录下都可以建立。
DOSLFN修改版见附件。
另外,有关更多特殊形式的目录,均可在本论坛中找到(由本论坛网友原创)。
Originally posted by gmy at 2006-6-13 09:23 AM:
Yes, it's the webmaster Wengier. Please modify DOSLFN (modify it again based on the last modified version so that both MD modes with . are supported).
Well then, but please be careful not to misspell the name again, thank you.
Just now, further modifications have been made to DOSLFN. Now, commands such as "md ..", "md ...", "md ...." can be used respectively to create special-form directories like .., ..., .... However, it should be noted that since there is already a .. directory in the subdirectory, and normally directory names must be unique (otherwise it's purely a bug), so "md .." can only be used in the root directory to create the ".." new directory in the root directory, and should not be used in subdirectories. As for directories like ..., ...., they can be created in all directories.
The modified version of DOSLFN is in the attachment.
In addition, more special-form directories can be found in this forum (created by forum users).
附件
1: DOSLFN.COM (2006-6-13 11:13, 18.18 KiB, 下载附件所需积分 1 点
,下载次数: 615)
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-6-13 11:13 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
谢谢 Wengier
我也收藏了...
Thanks Wengier
I also collected...
|
|
2006-6-13 11:28 |
|
|
Michael
钻石会员
       
积分 10046
发帖 3039
注册 2002-11-11
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
呵呵,我猜对了吧。:|o|:
Hehe, I guessed it right, didn't I. :|o|:
|

简单就是美 |
|
2006-6-13 12:51 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-13 13:27 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
|
2006-6-13 13:33 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-13 13:52 |
|
|
gmy
版主
        操作系统爱好者
积分 1113
发帖 392
注册 2002-11-11
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
谢谢,等我一试!
Thanks, wait for me to try it!
|

DOS之家 http://doshome.com 站长 葛明阳 |
|
2006-6-13 14:26 |
|
|
gmy
版主
        操作系统爱好者
积分 1113
发帖 392
注册 2002-11-11
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
不符合要求啊!
在纯DOS下建立的 MD .. 的可引用名是 ~1
在XP的CMD下使用 MD \...\ 的可引用名是 E2E2~1
请Wengier 改成与XP一致的目录名为 E2E2~1 而不是 ~1
It doesn't meet the requirements!
The reference name of MD.. established under pure DOS is ~1.
The reference name of MD\...\ under XP's CMD is E2E2~1.
Please have Wengier change the directory name to be consistent with XP, which is E2E2~1 instead of ~1.
|

DOS之家 http://doshome.com 站长 葛明阳 |
|
2006-6-13 14:58 |
|
|
jimolr
初级用户
 
积分 48
发帖 18
注册 2006-6-10
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
用 md d:\aa..\建的文件夹的好处是在windows是不能访问和删除
但用CMD命令方式进入后应用程序也无法访问了
The advantage of using md d:\aa..\ to create a folder is that it cannot be accessed and deleted in Windows, but the application program also cannot access it after entering via the CMD command method
|
|
2006-6-13 15:07 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
Originally posted by gmy at 2006-6-13 02:58 PM:
不符合要求啊!
在纯DOS下建立的 MD .. 的可引用名是 ~1
在XP的CMD下使用 MD \...\ 的可引用名是 E2E2~1
请Wengier 改成与XP一致的目录名为 E2E2~1 而� ...
说实在的,完全没有必要也不应该这么做,这纯粹是短文件名的具体建立的名称的问题,而E2E2~1这名称作为其短文件名实在没有什么意义(其实是XP的处理上的BUG,完全不合规范;虽然我知道其原理,但要刻意模仿这种不规范做法则非常没有意义也不现实),应按照规范进行生成短文件名,同时能做到上面所说的完全隐藏的目的即可。
Originally posted by gmy at 2006-6-13 02:58 PM:
It doesn't meet the requirements!
In pure DOS, the reference name for creating MD.. is ~1.
In the CMD of XP, using MD \...\ gives the reference name E2E2~1.
Please ask Wengier to change the directory name to be consistent with XP, which is E2E2~1 and...
To be honest, there is completely no need and should not do this. This is purely an issue with the specific name of the short filename creation. And the name E2E2~1 as its short filename is really meaningless (in fact, it's a bug in XP's processing, completely non-compliant; although I know the principle, deliberately imitating such a non-compliant practice is very meaningless and unrealistic). It should generate the short filename in accordance with the specification, and at the same time be able to achieve the purpose of complete hiding as mentioned above.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-6-13 23:03 |
|