我写的批处理如下:
@echo off
d:
cd\Documents and Settings\Crystal.joe\My Documents\Documents
attrib Chm +h +s
cd ..
attrib Nokia +h +s
attrib PHOTO +h +s
cd Web
attrib Tom +h +s
cd ..
cd My Pics
attrib 3 +h +s
cd ..
cd My Phootos
attrib 102 +h +s
attrib aa +h +s
e:
cd joe
attrib 0 +h +s
regedit cang.reg
pause