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-08-09 08:10
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Solved] How do I add the hidden attribute to a folder with a dot in its name? View 977 Replies 8
Original Poster Posted 2008-07-31 20:24 ·  中国 江西 赣州 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
This doesn't seem to work
attrib +h o..\ /s /d

[ Last edited by tireless on 2008-9-17 at 02:39 PM ]
Floor 2 Posted 2008-07-31 21:54 ·  中国 四川 成都 锦江区 电信
初级用户
★★
Credits 159
Posts 56
Joined 2006-09-15 10:31
19-year member
UID 62663
Status Offline
It works
attrib +h directory_path /s /d
Floor 3 Posted 2008-07-31 21:59 ·  中国 江西 赣州 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
Originally posted by lfzzj at 2008-7-31 01:54 AM:
It works
attrib +h directory_path /s /d

It doesn't work. First create a folder with a dot in its name:
md dd..\


Then try adding the hidden attribute to this folder and see whether it works?
Floor 4 Posted 2008-07-31 22:05 ·  中国 广东 广州 联通
初级用户
★★
Credits 167
Posts 80
Joined 2005-11-07 05:08
20-year member
UID 44725
Gender Male
Status Offline
What environment?
Floor 5 Posted 2008-07-31 22:08 ·  中国 江西 赣州 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
XP SP2 Chinese edition
Could it be that command works for you guys? Post a screenshot and let me see...
Floor 6 Posted 2008-07-31 22:25 ·  中国 广东 广州 联通
初级用户
★★
Credits 167
Posts 80
Joined 2005-11-07 05:08
20-year member
UID 44725
Gender Male
Status Offline
Originally posted by tireless at 2008-7-31 21:59:

It doesn't work. First create a folder with a dot in its name:
md dd..\


Then try adding the hidden attribute to this folder and see whether it works?



Pure DOS environment:

1. Use the omnifs.exe software, from the same company as Ghost.
2. Use attrib.com, provided in the attachment (untested).

Windows XP environment:

1. Use the omnifs32.exe software, from the same company as Ghost.
2. Use attrib.com, provided in the attachment.


About what you mentioned above: MD dd..\ try this: attrib +h +r +s DD2306~1
Attachments
Attrib.rar (640 bytes, Downloads: 88)
Floor 7 Posted 2008-07-31 22:28 ·  中国 江西 赣州 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
Thanks
Floor 8 Posted 2008-08-01 09:19 ·  中国 江西 赣州 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline

from the same company as Ghost
what does that mean?

But I downloaded this thing.http://remx.ru/SOFT/Soft_PC/PC_Windows/Net/gho/omnifs32.exe (downloaded with a tool)

[ Last edited by tireless on 2008-7-31 at 01:34 PM ]
Floor 9 Posted 2008-08-01 09:35 ·  中国 广东 广州 联通
初级用户
★★
Credits 167
Posts 80
Joined 2005-11-07 05:08
20-year member
UID 44725
Gender Male
Status Offline
That is, it's the same company as Symantec, which made ghost. I already had these things long ago.
Forum Jump: