;;to detect if drive exist.
(vl-file-size "k:/") ;;return nil if not
;;or
(vl-file-directory-p "v:/")
;;to detect the size of the file (if exist)
(vl-file-size "c:/test.txt");;return nil if not exist
;;to detect the file Date
(vl-file-systime "c:/program files/AutoCAD 2004/sample/visuallisp/yinyang.lsp")
so I think with theses command you can do everything you need...
But if you need this to do a Batch file scripting...
take a look
Here...