Ahankhah Posted November 5, 2014 Share Posted November 5, 2014 Hi all, Although vl-file-systime works fine on most files (even readonly ones), it doesn't work on open files. Could any one introduces alternatives to vl-file-systime function to get the time of such files? I appreciate any help and clues to solve the problem Quote Link to comment Share on other sites More sharing options...
MSasu Posted November 5, 2014 Share Posted November 5, 2014 Please check the DOS_FILEDATE from DOSLib pack (freeware). (rtos (cdar (dos_filedate (strcat (getvar "DWGPREFIX") (getvar "DWGNAME")))) 2 10) Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 5, 2014 Share Posted November 5, 2014 Related thread: http://www.theswamp.org/index.php?topic=48179.0 Quote Link to comment Share on other sites More sharing options...
hmsilva Posted November 5, 2014 Share Posted November 5, 2014 Although vl-file-systime works fine on most files (even readonly ones), it doesn't work on open files. Could any one introduces alternatives to vl-file-systime function to get the time of such files? Using ActiveX, 'FileSystemObject' and 'datelastmodified' property. Exemple by Lee Mac at theswamp.org EDIT: Too slow... Henrique Quote Link to comment Share on other sites More sharing options...
Ahankhah Posted November 5, 2014 Author Share Posted November 5, 2014 MSasu, Lee, hmsilva, thank you very much. Lee, nice to see you again in the forum:). Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 5, 2014 Share Posted November 5, 2014 ........ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.