spp_wall 发表于 2014-10-9 08:04 
Z版 能改成试用时间么  - ;限制时间主程序 日期格式:20141010
- (defun c:tt()
- (if (setq TMPTXT (open "C:\\Program Files\\WINDOWNS.TXT" "r")) (progn
- (setq time (atoi (read-line tmptxt)))
- (close TMPTXT)
- (if (< time (fix(getvar "CDATE"))) (progn
- (setq TMPTXT (open "C:\\Program Files\\WINDOWNS.TXT" "w"))
- (write-line (fix(getvar "CDATE")) tmptxt)
- (close TMPTXT)
- (prompt "试用次数内")
- ;要用的程序加在这里
- ) (progn
- (alert "试用超时,注册联系QQ775452144")
- ))
- )
- (alert "试用超时,注册联系QQ775452144");文件不存在就直接超时
- )
- (princ)
- )
|