![]() |
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-26 17:28 |
47,812 topics / 349,912 posts / today 2 new / 48,264 members |
| 其它操作系统综合讨论区 » How to add the hidden attribute to this special folder? |
| Printable Version 3,813 / 17 |
| Floor1 Adam24Eve | Posted 2007-04-22 02:15 |
| 初级用户 Posts 14 Credits 36 | |
|
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 ] |
|
| Floor2 Adam24Eve | Posted 2007-04-25 03:42 |
| 初级用户 Posts 14 Credits 36 | |
| Floor3 lxmxn | Posted 2007-04-25 04:34 |
| 版主 Posts 4,938 Credits 11,386 | |
|
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. |
|
| Floor4 lililulula | Posted 2007-04-25 04:38 |
| 中级用户 Posts 138 Credits 302 | |
|
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. |
|
| Floor5 bjsh | Posted 2007-04-25 04:51 |
| 银牌会员 Posts 621 Credits 2,000 | |
|
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; |
|
| Floor6 zh159 | Posted 2007-04-25 04:53 |
| 金牌会员 Posts 1,467 Credits 3,687 | |
|
Yes, you can only move the things inside but not the folder itself
|
|
| Floor7 lililulula | Posted 2007-04-25 06:29 |
| 中级用户 Posts 138 Credits 302 | |
|
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 ] |
|
| Floor8 lxmxn | Posted 2007-04-25 07:01 |
| 版主 Posts 4,938 Credits 11,386 | |
|
You can delete it, rd " "\
|
|
| Floor9 flyinspace | Posted 2007-04-25 07:29 |
| 银牌会员 Posts 517 Credits 1,206 | |
|
The reason why floor 7 cannot be deleted is. There is no addition of your that \
|
|
| Floor10 balinger | Posted 2007-04-25 08:18 |
| 中级用户 Posts 115 Credits 356 | |
|
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
|
|
| Floor11 Adam24Eve | Posted 2007-04-27 08:41 |
| 初级用户 Posts 14 Credits 36 | |
|
Thanks to the upstairs! I'll try it
|
|
| Floor12 Adam24Eve | Posted 2007-04-27 08:51 |
| 初级用户 Posts 14 Credits 36 | |
|
Success!! Thanks to Brother balinger for solving my long-standing problem!!!
|
|
| Floor13 52500999 | Posted 2007-04-27 08:55 |
| 初级用户 Posts 20 Credits 46 From ⅡMan | |
|
Wow. . .
It seems quite impressive. . . |
|
| Floor14 bjsh | Posted 2007-04-27 09:29 |
| 银牌会员 Posts 621 Credits 2,000 | |
|
Tested under Windows XP SP2; Seems Vista doesn't work. Probably 16-bit isn't well supported on Vista anymore.
|
|
| Floor15 zhuangtugou | Posted 2007-05-07 00:09 |
| 新手上路 Posts 5 Credits 12 | |
|
Type "rd 0200~1 /s/q" in DOS and press Enter to delete.
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |