中国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-13 12:26
47,811 topics / 349,897 posts / today 0 new / 48,256 members
其它操作系统综合讨论区 » Create an absolutely hidden directory that is not visible in the Explorer!
Printable Version  24,126 / 71
Floor1 gmy Posted 2006-06-12 09:38
版主 Posts 392 Credits 1,113
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 ]
Floor2 Wengier Posted 2006-06-12 11:47
系统支持 Posts 10,521 Credits 27,736
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.
Floor3 Michael Posted 2006-06-12 13:00
钻石会员 Posts 3,041 Credits 10,056
I guess it's for you, Wengier.
Floor4 bush Posted 2006-06-12 13:36
银牌会员 Posts 730 Credits 2,165
无法创建目录

?!
Floor5 gmy Posted 2006-06-13 09:23
版主 Posts 392 Credits 1,113
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)
Floor6 Wengier Posted 2006-06-13 11:13
系统支持 Posts 10,521 Credits 27,736
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).

Attachments
DOSLFN.COM (18.18 KiB)
Floor7 fastslz Posted 2006-06-13 11:28
铂金会员 Posts 2,315 Credits 5,493 From 上海
Thanks Wengier
I also collected...
Floor8 Michael Posted 2006-06-13 12:51
钻石会员 Posts 3,041 Credits 10,056
Hehe, I guessed it right, didn't I. :|o|:
Floor9 不得不爱 Posted 2006-06-13 13:27
超级版主 Posts 2,044 Credits 5,310 From 四川南充
Wengier:
Could you provide CP936UNI.TBL at the same time?
Floor10 Wengier Posted 2006-06-13 13:33
系统支持 Posts 10,521 Credits 27,736
Originally posted by qwe1234567 at 2006-6-13 01:27 PM:
Wengier:
Could you please provide CP936UNI.TBL at the same time?


This file is available in the standard MS-DOS 7.10 boot disk and others, and can be used directly:

http://www.cn-dos.net/msdos71/msdos71b.zip
Floor11 不得不爱 Posted 2006-06-13 13:52
超级版主 Posts 2,044 Credits 5,310 From 四川南充
Floor12 gmy Posted 2006-06-13 14:26
版主 Posts 392 Credits 1,113
Thanks, wait for me to try it!
Floor13 gmy Posted 2006-06-13 14:58
版主 Posts 392 Credits 1,113
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.
Floor14 jimolr Posted 2006-06-13 15:07
初级用户 Posts 18 Credits 48
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
Floor15 Wengier Posted 2006-06-13 23:03
系统支持 Posts 10,521 Credits 27,736
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.
1 2 3 45  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023