再想想,如果每个用户都设置了支持路径,我就不使用云驱动器。
- ; must have support path set, Options Files Support files search path
- (setq fileexist (findfile "My_routine.lsp"))
- (if (= fileexist nil)
- (alert "my_routine.lsp not found on G: H: or S: \nCheck your support path settings")
- (load "My_routine.lsp")
- )
搜索路径集,即“G:\shardrive\CAD\u Department\CAD\u menu\LISP\可以是H:S:etc,然后findfile将返回T或nil
|