中国DOS联盟论坛

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-13 14:31
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » How to implement batch processing to modify folder attributes
Printable Version  3,114 / 9
Floor1 msilg Posted 2006-10-14 11:06
新手上路 Posts 1 Credits 8
Dear predecessors, how can I use batch processing to realize the timing change of the attributes of the folder?

Little brother just learned these, hope you seniors give me a break and give me some pointers! Thank you!
Floor2 electronixtar Posted 2006-10-14 11:12
铂金会员 Posts 2,672 Credits 7,493
Floor3 lxmxn Posted 2006-10-14 12:14
版主 Posts 4,938 Credits 11,386

  Poster, please be more specific about your requirements.`


[ Last edited by lxmxn on 2006-10-14 at 12:16 ]
Floor4 redtek Posted 2006-10-14 12:29
金牌会员 Posts 1,147 Credits 2,902
Originally posted by msilg at 2006-10-14 11:06:
Dear predecessors, how can I use batch processing to realize timing the change of folder attributes?

Little brother has just started learning these, hope you all be generous and give me some pointers! Thank you!



Interesting! Why do you want to change the folder attributes regularly? Do you want the folder to appear for a while and then disappear by itself?
Floor5 vkill Posted 2006-10-15 04:04
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
Floor6 kine Posted 2006-10-15 09:32
新手上路 Posts 4 Credits 9
attrib filename(directory name) to view the attributes of a certain file (directory)
attrib filename -A -R -S -H or +A +R +S +H to remove (add) the archive, read-only, system, hidden attributes of a certain file; using + means to add a certain attribute.
Floor7 kine Posted 2006-10-15 09:36
新手上路 Posts 4 Credits 9
A Archive 存档
R Readonly 只读
S SystemFile 系统
H Hidden 隐藏

If there is any mistake, please point it out to avoid misleading others.
Floor8 kingchain Posted 2006-10-15 21:52
初级用户 Posts 57 Credits 133
The LZ means to set the attributes of a file regularly, not just once. The key is the use of timing in DOS. Should the AT command be used? I'm a newbie and also want to know. Hope experts can give some advice.

[ Last edited by kingchain on 2006-10-15 at 21:56 ]
Floor9 hxr517 Posted 2006-10-19 09:44
新手上路 Posts 4 Credits 8
The building owner wants a BAT with parameters, right~~
Floor10 323198608 Posted 2007-01-22 11:27
新手上路 Posts 4 Credits 9
cacls /?
Check this thing in the cmd window
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023