网友求助:cad启动时系统错误,计算机中丢失ac1st16.dll?怎么办
分享经验:一般是环境变量出错了,重新设置一下即可解决这问题。
代码语言:javascript复制@echo off
@set Path_=C:Program Files (x86)Common FilesAutodesk Shared\
for,/f,"skip=4 tokens=1,2,*",%%a,in,('reg query "HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerEnvironment" /v Path'),do,(
@set PathAll_=%%a
)
@echo on
echo %PathAll_%
echo %path%
@echo off
echo %PathAll_%|find /i "%Path_%" && set IsNull=true|| set IsNull=false
if not %IsNull%==true (
reg add "HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerEnvironment" /v Path /t REG_EXPAND_SZ /d "%path%;%Path_%" /f
)
另存为.bat文件,执行
win7无法安装cad2004,但是可以安装cad2006