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 20:39
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Create an absolutely hidden directory that is not visible in the Explorer! View 23,223 Replies 71
Original Poster Posted 2006-06-12 09:38 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
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 站长 葛明阳
Floor 2 Posted 2006-06-12 11:47 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
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和雨露,谢谢!)

Floor 3 Posted 2006-06-12 13:00 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
I guess it's for you, Wengier.
简单就是美
Floor 4 Posted 2006-06-12 13:36 ·  中国 重庆 渝中区 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline
无法创建目录

?!
Floor 5 Posted 2006-06-13 09:23 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
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 站长 葛明阳
Floor 6 Posted 2006-06-13 11:13 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
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).
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
siai88 -1 2007-04-23 05:20
gooooood +1 2025-06-07 15:10
Attachments
DOSLFN.COM (18.18 KiB, Credits to download 1 pts, Downloads: 615)
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 7 Posted 2006-06-13 11:28 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Thanks Wengier
I also collected...
Floor 8 Posted 2006-06-13 12:51 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
Hehe, I guessed it right, didn't I. :|o|:
简单就是美
Floor 9 Posted 2006-06-13 13:27 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 10 Posted 2006-06-13 13:33 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
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
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 11 Posted 2006-06-13 13:52 ·  中国 四川 南充 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 12 Posted 2006-06-13 14:26 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Thanks, wait for me to try it!
DOS之家 http://doshome.com 站长 葛明阳
Floor 13 Posted 2006-06-13 14:58 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
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 站长 葛明阳
Floor 14 Posted 2006-06-13 15:07 ·  中国 云南 昆明 电信
初级用户
Credits 48
Posts 18
Joined 2006-06-10 14:24
20-year member
UID 56835
Status Offline
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
Floor 15 Posted 2006-06-13 23:03 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
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和雨露,谢谢!)

1 2 3 5 Next ›
Forum Jump: