• 0

[VBScript]Moving Contents of folder based on date


Question

Basically I wrote a script that moves some files from our FTP server to a diff server. These files need to be imported into a program via my end users.

The files are moved to _images folder in a folder *\import\_images

The program that needs to import said files looks in \import for the files to import. However due to limitations with this software only one image can be imported at a time.

Basically, using VBScript I need to figure out a way to "select" a single folder (oldest first would be preferable but It doesn't really matter) out of many and copy all its contents (including a subfolder with files) to \import.

So basically I can just have my user double click the file which will automatically load the file into the correct place so they can import it, then run the script again to import another one.

I guess just a hint in the right direction is all I really need, i can code it myself.

Thanks!

Edited by Sophism
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.