Jump to content
Ahankhah

vl-file-systime does not work on open file

Recommended Posts

Ahankhah

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

 

Share this post


Link to post
Share on other sites
MSasu

Please check the DOS_FILEDATE from DOSLib pack (freeware).

(rtos (cdar (dos_filedate (strcat (getvar "DWGPREFIX") (getvar "DWGNAME")))) 2 10)

Share this post


Link to post
Share on other sites
hmsilva

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

Share this post


Link to post
Share on other sites
Ahankhah

MSasu, Lee, hmsilva,

thank you very much.

 

Lee, nice to see you again in the forum:).

Share this post


Link to post
Share on other sites
Lee Mac
:) ........

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...