|
DosLib内有法现成的函数 DosLib: http://download.rhino3d.com/download.asp?id=doslib dos_filep -------------------------------------------------------------------- Returns the existence of a file.
Syntax (dos_filep filename) Parameters filename The source filename. Returns T if filename exists. nil if filename does not exist, or on error. Example Command: (dos_filep "c:\\program files\\autocad 2002\\drawing1.dwg") T Command: (dos_filep "c:\\program files\\autocad 2002\\drawing3.dwg") nil |