Board logo

标题: [求助]批处理导入注册表问题 [打印本页]

作者: cjoe     时间: 2005-11-25 12:26    标题: [求助]批处理导入注册表问题
我写的批处理如下:
@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

其中的cang.reg和这个批处理文件在一个文件夹下
但执行的时候提示
"无法导入cang.reg:打开文件时出错.可能有磁盘或系统错误"
请问怎么处理
谢谢!