可能是这句出问题(setq file (getfiled "选定点位数据文件:" "e:/" "txt" 0)我用过的两个例子(setq b_fil1 (getfiled "选择清单文件" "bom.txt" "txt" 4))(setq m_fil2 (getfiled "Select the MB Location file" "mb.ini" "ini" 8))"e:/" 这里应该是缺省文件名,后面的“0”我没用过,你再查一下getfiled的使用方式