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-26 12:55
中国DOS联盟论坛 » 其它操作系统综合讨论区 » How to add the hidden attribute to this special folder? View 3,506 Replies 17
Original Poster Posted 2007-04-22 02:15 ·  中国 北京 宽捷网通信技术有限公司
初级用户
Credits 36
Posts 14
Joined 2007-04-20 01:28
19-year member
UID 85777
Gender Male
Status Offline
Batch processing: md " "\ creates an empty-named folder and cannot be deleted under Windows. Maybe you can't add the hidden attribute to it? attrib seems not to work. I don't want to use pure DOS.

[ Last edited by Adam24Eve on 2007-4-23 at 10:56 PM ]
Floor 2 Posted 2007-04-25 03:42 ·  中国 北京 宽捷网通信技术有限公司
初级用户
Credits 36
Posts 14
Joined 2007-04-20 01:28
19-year member
UID 85777
Gender Male
Status Offline
Floor 3 Posted 2007-04-25 04:34 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline
I found that this file cannot set attributes. After setting the attributes with the mouse, when I open it again, they are gone. It may be related to the particularity of its file name.

But I can perform operations such as moving, copying, modifying, and deleting on the files inside it.
Floor 4 Posted 2007-04-25 04:38 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 302
Posts 138
Joined 2007-03-29 02:33
19-year member
UID 83224
Gender Male
Status Offline
to lxmxn:
The situation with this folder here is that it cannot be moved, copied, deleted, or modified.
PS: Wait for others to test and solve.
Floor 5 Posted 2007-04-25 04:51 ·  中国 浙江 杭州 华数宽带
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
I am the same as Brother lxmxn;
This folder cannot be modified;
But the files inside it can be moved, copied, deleted, and modified;
lxmxn also expressed this meaning;

lililulula misunderstood;
Floor 6 Posted 2007-04-25 04:53 ·  中国 广西 玉林 博白县 电信
金牌会员
★★★★
Credits 3,687
Posts 1,467
Joined 2005-08-08 12:00
20-year member
UID 44210
Status Offline
Yes, you can only move the things inside but not the folder itself
Floor 7 Posted 2007-04-25 06:29 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 302
Posts 138
Joined 2007-03-29 02:33
19-year member
UID 83224
Gender Male
Status Offline
Well, didn't see clearly. The files inside can indeed be moved, but this file with an empty file name can't be operated on in any way. Also, you can copy and specify operations on the empty file name. Use rd /s path:\"_\" where "_" is the file name to be copied. But I didn't operate, and I mistakenly deleted some things in D:\ earlier. I hope friends who build files in irrelevant directories can test if it can be deleted.

[ Last edited by lililulula on 2007-4-24 at 05:55 PM ]
Floor 8 Posted 2007-04-25 07:01 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline
You can delete it, rd " "\
Floor 9 Posted 2007-04-25 07:29 ·  中国 广东 广州 联通
银牌会员
★★★
Credits 1,206
Posts 517
Joined 2007-03-25 01:18
19-year member
UID 82819
Gender Male
Status Offline
The reason why floor 7 cannot be deleted is. There is no addition of your that \
知,不觉多。不知,乃求知
Floor 10 Posted 2007-04-25 08:18 ·  中国 福建 福州 连江县 电信
中级用户
★★
Credits 356
Posts 115
Joined 2004-07-27 00:00
21-year member
UID 29114
Gender Male
Status Offline
The ATTR.COM I collected is okay, I have tried it. First, dir /x /ad to get the short directory name of the directory (such as 0200~1), then ATTR.COM +h short directory name
Floor 11 Posted 2007-04-27 08:41 ·  中国 北京 宽捷网通信技术有限公司
初级用户
Credits 36
Posts 14
Joined 2007-04-20 01:28
19-year member
UID 85777
Gender Male
Status Offline
Thanks to the upstairs! I'll try it
Floor 12 Posted 2007-04-27 08:51 ·  中国 北京 宽捷网通信技术有限公司
初级用户
Credits 36
Posts 14
Joined 2007-04-20 01:28
19-year member
UID 85777
Gender Male
Status Offline
Success!! Thanks to Brother balinger for solving my long-standing problem!!!
Floor 13 Posted 2007-04-27 08:55 ·  中国 上海 宝山区 电信
初级用户
我是坏蛋
Credits 46
Posts 20
Joined 2007-04-27 07:51
19-year member
UID 86635
Gender Male
From ⅡMan
Status Offline
Wow. . .
It seems quite impressive. . .
只要我不睜開眼睛

这个世界就不會醒來
Floor 14 Posted 2007-04-27 09:29 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 2,000
Posts 621
Joined 2007-01-01 00:00
19-year member
UID 75212
Gender Male
Status Offline
Tested under Windows XP SP2; Seems Vista doesn't work. Probably 16-bit isn't well supported on Vista anymore.
Floor 15 Posted 2007-05-07 00:09 ·  中国 福建 福州 电信
新手上路
Credits 12
Posts 5
Joined 2007-05-06 14:00
19-year member
UID 87659
Gender Male
Status Offline
Type "rd 0200~1 /s/q" in DOS and press Enter to delete.
Forum Jump: