Solved

Transfer files using VBScript/JavaScript

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is about my first experience with programming Arduino.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

746 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

11 Experts available now in Live!

Get 1:1 Help Now