Here's a quick update to this code since vla-get-filedependencies was removed from AutoCAD 2018.
(defun c:super (/ *error* dir vars)
(vl-load-com)
(defun *error* (msg)
;; Reset variables
(mapcar '(lambda (x) (setvar (car x) (cdr x))) vars)
(if (not (wcmatch (strcase msg) "*BREAK,*CANCEL*,*EXIT*"))
(princ (strcat "\nError: " msg))
)
(princ)
)
(vl-mkdir (setq dir (strcat (getvar 'dwgprefix) "Superseded")))
(vl-mkdir (setq dir (strcat dir "\\" (menucmd "m=$(edtime,0,yyyy-mo-dd)"))))
(if (findfile dir)
(progn (setq vars (mapcar '(lambda (x) (cons x (getvar x))) '("cmdecho" "expert" "filedia")))
(mapcar '(lambda (a b) (setvar (car a) b)) vars '(0 5 0))
(command "_qsave")
(command "-etransmit"
"Current"
"Create"
(strcat dir "\\" (vl-filename-base (getvar 'dwgname)))
)
(mapcar '(lambda (x) (setvar (car x) (cdr x))) vars)
)
)
(princ)
)