Solved

Transfer files using VBScript/JavaScript

Posted on 2003-12-08
2
274 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
A short article about a problem I had getting the GPS LocationListener working.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now