omegabeta
asked on
Transfer files using VBScript/JavaScript
Daily I am saving data to the computer1. Now I want to save only the last saved file/directory on the computer2.
I must detect which file/directory is most recent. Once that I have this information, I can copy it to new location.
How can I do this using VBScript/JavaScript?
Thanks in advance.
I must detect which file/directory is most recent. Once that I have this information, I can copy it to new location.
How can I do this using VBScript/JavaScript?
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
check for the last modified property
and use the move method of the file