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-13 13:32
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How to implement batch processing to modify folder attributes View 3,113 Replies 9
Original Poster Posted 2006-10-14 11:06 ·  中国 广东 汕尾 电信
新手上路
Credits 8
Posts 1
Joined 2006-10-14 08:15
19-year member
UID 65724
Status Offline
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!
Floor 2 Posted 2006-10-14 11:12 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 3 Posted 2006-10-14 12:14 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  Poster, please be more specific about your requirements.`


[ Last edited by lxmxn on 2006-10-14 at 12:16 ]
Floor 4 Posted 2006-10-14 12:29 ·  中国 北京 东城区 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
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?
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 5 Posted 2006-10-15 04:04 ·  中国 甘肃 平凉 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
redtek +1 2006-10-15 04:17
Floor 6 Posted 2006-10-15 09:32 ·  中国 福建 莆田 电信
新手上路
Credits 9
Posts 4
Joined 2006-10-15 02:48
19-year member
UID 65806
Status Offline
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.
Floor 7 Posted 2006-10-15 09:36 ·  中国 福建 莆田 电信
新手上路
Credits 9
Posts 4
Joined 2006-10-15 02:48
19-year member
UID 65806
Status Offline
A Archive 存档
R Readonly 只读
S SystemFile 系统
H Hidden 隐藏

If there is any mistake, please point it out to avoid misleading others.
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
redtek +1 2006-10-15 20:22
Floor 8 Posted 2006-10-15 21:52 ·  中国 广东 深圳 福田区 电信
初级用户
★★
Credits 133
Posts 57
Joined 2006-03-15 23:12
20-year member
UID 52128
Status Offline
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 ]
Floor 9 Posted 2006-10-19 09:44 ·  中国 辽宁 沈阳 中移铁通
新手上路
Credits 8
Posts 4
Joined 2006-10-18 22:53
19-year member
UID 66564
Status Offline
The building owner wants a BAT with parameters, right~~
Floor 10 Posted 2007-01-22 11:27 ·  中国 上海 普陀区 电信
新手上路
Credits 9
Posts 4
Joined 2007-01-11 19:43
19-year member
UID 76194
Gender Male
Status Offline
cacls /?
Check this thing in the cmd window
Forum Jump: