你是荷兰人吗?
-
- ; MarcoW 09-11-2009
- ;
- ; first create the function
- ; and localise the variables used
- (defun c:asf ( / asfloc oldloc)
- ; then set some variables that will be used
- (setq asfloc (getstring T "\nPlease enter the automatic Save File Location as desired: ")
- oldloc (getvar "savefilepath")
- ); end of setq
- ; put the new path into the systemvariable
- (setvar "savefilepath" asfloc)
- ; show the old location once more, you might want to write down its location for you never know if you want it back
- (alert (strcat "The old path was: " oldloc))
- ; clean exit
- (princ)
- ; end of defun
- )
我刚刚写的,但我想它是可行的。
有人可能会通过在对话框中选择文件夹来帮助您找到正确的文件夹。 |