Solved

Transfer files using VBScript/JavaScript

Posted on 2003-12-08
2
279 Views
Last Modified: 2006-11-17
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.
0
Comment
Question by:omegabeta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 69

Accepted Solution

by:
Callandor earned 50 total points
ID: 9898407
Perhaps this question has the answer you are looking for? http://www.experts-exchange.com/Programming/Q_20633723.html
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9902025
use the FSO object loop thro the files/directories
check for the last modified property
and use the move method of the file
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Six Sigma Control Plans

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question