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 22:16
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Create an absolutely hidden directory that is not visible in the Explorer! View 23,234 Replies 71
Floor 16 Posted 2006-06-14 08:34 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
It's enough because I've come up with a better way that can run completely under pure DOS. Thanks, Wengier!

[ Last edited by gmy on 2006-6-14 at 11:11 ]
DOS之家 http://doshome.com 站长 葛明阳
Floor 17 Posted 2006-06-14 10:49 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
gmy:

This is actually directly related to the way short filenames are generated in NT CMD. You need to know that the way short filenames are generated in NT CMD is quite different from that in DOS/Win9x and is relatively non-standard. If you want to deliberately and completely imitate the corresponding short filename like E2E2~1 established in NT CMD, you need to greatly modify the existing short filename generation method in DOSLFN (the existing generation method is based on DOS/Win9x) and add support for character codes (this is related to the special generation principle of short filenames in NT CMD). It can be seen that it is not very simple to really implement this, and it may have an impact on the compatibility of DOS. Moreover, after all, this is only the difference in the names of short filenames, and there is no direct relationship with the hiding of special directories such as.., so for the Explorer of XP, such directories are still completely hidden, and the effect is actually not different.
Wengier - 新DOS时代

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

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

Floor 18 Posted 2006-09-08 04:36 ·  中国 广东 东莞 电信
初级用户
Credits 102
Posts 43
Joined 2006-09-07 05:22
19-year member
UID 62023
Status Offline
Ask the administrator Wengier, how to use DOSLFN? Is it run under pure DOS?
Floor 19 Posted 2006-09-08 10:28 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Originally posted by hymm2008 at 2006-9-8 04:36 AM:
Ask the administrator Wengier, how to use DOSLFN? Is it run under pure DOS?


Yes, it runs just like a general TSR program (such as SMARTDRV, etc.).
Wengier - 新DOS时代

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

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

Floor 20 Posted 2006-09-13 22:57 ·  中国 广东 汕头 电信
初级用户
Credits 135
Posts 49
Joined 2006-04-28 10:01
20-year member
UID 54589
Status Offline
Comrades, study more about things under NTFS.
Floor 21 Posted 2006-09-17 20:04 ·  中国 广东 东莞 电信
中级用户
★★
Credits 284
Posts 113
Joined 2006-07-27 02:30
19-year member
UID 59326
Status Offline
Create directory md b:\director..\ md b:\...\
Copy file copy filename.ext b:\director..\ copy filename.ext b:\...\
Access directory start b:\director..\ start b:\...\
Execute file start b:\director..\filename.ext start b:\...\filename.ext
Delete directory rd b:\director..\ /s /q rd b:\...\ /s /q

[ Last edited by chishingchancn on 2006-9-17 at 20:22 ]
Floor 22 Posted 2007-04-15 15:01 ·  中国 浙江 台州 临海市 电信
初级用户
Credits 48
Posts 26
Joined 2007-04-09 14:14
19-year member
UID 84505
Gender Male
Status Offline
Thanks for sharing, saved it
Floor 23 Posted 2007-04-17 01:51 ·  中国 福建 漳州 电信
初级用户
Credits 38
Posts 15
Joined 2007-02-10 07:42
19-year member
UID 79143
Gender Male
Status Offline
Originally posted by gmy at 2006-6-11 08:38 PM:
The previous DOSLFN that supports d:\abc. has been downloaded and it works well.

But it does not support directory like d:\..\!

Because I found the trick of md d:\..\ on Wuyou Forum (the resource manager can't see it, even though " ...

Dear moderator, I downloaded the DOSLFN provided by WENGIER on the 6th floor. After executing DOSLFN in the CMD state of XP, I can't realize the hidden directory you mentioned at all with the MD command. What's wrong with me?
For example, I execute
F:\MD ..
and it prompts ACCESS IS DENIED
Floor 24 Posted 2007-04-17 02:11 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The person upstairs, from the name DOSLFN, you can know that this program is a tool to support long file names under DOS. Of course, it is useless to use it under CMD! The wrong running environment is exactly the problem.
Wengier - 新DOS时代

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

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

Floor 25 Posted 2007-04-17 04:05 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 126
Posts 53
Joined 2007-04-03 12:33
19-year member
UID 83832
Gender Male
Status Offline
I created a folder using md \...\ in CMD. Now how do I display or find it? I used start to operate and got the prompt: "There is no program associated with this file to perform the operation"!
Floor 26 Posted 2007-04-19 23:36 ·  中国 江苏 南京 电信
新手上路
Credits 2
Posts 1
Joined 2007-04-19 22:54
19-year member
UID 85760
Gender Male
Status Offline
Got to learn something new. Oh, this folder I've been struggling with for a long time, now it's finally sorted out! Hee hee!
Floor 27 Posted 2007-04-22 14:54 ·  中国 江苏 无锡 电信
新手上路
Credits 2
Posts 1
Joined 2007-04-22 12:10
19-year member
UID 86085
Gender Male
Status Offline
I'm a super newbie, but I also want to create hidden directories. Learning...

I tried and can create a folder named "~1", but I can't create such a folder in an NTFS partition.
Also, can I name custom file names, not necessarily "~1", like "yingcang~1; mine~1, etc."? Is that okay? Also, to achieve deep hiding in Windows, it can only be accessed through the direct file path. I tried several times and it didn't work.
Anyway, I can't figure it out. Although I can create folders like "cdef...", they are visible in Windows. Also, I failed to create such hidden files in subdirectories.
Hope an expert can give instructions! Thank you!
It's best to have step-by-step operation procedures because I'm super newbie.

[ Last edited by chenychan on 2007-4-22 at 07:42 AM ]
Floor 28 Posted 2007-04-23 05:22 ·  中国 浙江 宁波 宁海县 电信
初级用户
★★
职业灌水者
Credits 118
Posts 62
Joined 2007-04-16 05:45
19-year member
UID 85353
Gender Male
Status Offline
It's okay. What's the benefit of hiding it?
偶QQ:78329417我的BLONG
Floor 29 Posted 2007-05-09 16:06 ·  中国 陕西 渭南 电信
初级用户
★★
Credits 186
Posts 92
Joined 2007-03-27 08:20
19-year member
UID 83047
Gender Male
Status Offline
Thanks a lot. It works well and I've mastered the method again.
Floor 30 Posted 2007-05-09 16:12 ·  中国 上海 国通数据中心
新手上路
Credits 14
Posts 7
Joined 2007-05-09 15:09
19-year member
UID 87953
Gender Male
Status Offline
I can't download the file named DOSLFN.
Forum Jump: