(setq freespace (rtos (caddr (dos_chkdsk "d:\")) 2 0)) (setq dwg (getvar "dwgname")file_size1 (vl-file-size (strcat (getvar "dwgprefix") dwg)) (setq size (vl-princ-to-string file_size1)) I need to compare these two, and if the dwg size is larger than than the free disk space, pause to change disks. Is it possible and if so how do I achieve it? I may not be using the best approach for this. Any suggestions are appreciated. TIA