Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: bat file help  (Read 1833 times)

0 Members and 1 Guest are viewing this topic.

howard.hammerman

  • Guest
bat file help
« on: September 18, 2008, 07:52:12 AM »
A FoxPro program generates a new *.xls file once a week in a folder.  The folder contains many such files.  Once a week I need to copy the LATEST file to a new folder.
The name of the bat file contains the date it was created as follows:
DEMO20080914.XLS

Is there a way to see if the current date is equal to the embedded date in the file name or in the creation date of the file? 
or
Is there a way of selectly only the latest file?
or
Is there a way of getting the file that was created today?

Thanks in advance for any help you can provide.