Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-27-2007, 04:10 PM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
Comparing file modification dates

Every time I run the Make VB6 action step, executables are created and stored on a folder. They are renamed before they are moved to avoid overwriting files. At this point, there are too many files on there, and I would like to be able to process the files, get their modification date, which I am able to do, and delete the oldest one. However, when I try to find the file with the oldest modification date, I'm not successful. I don't get errors, the step runs fine, but the oldest file is not selected out of all of them.

I need to be sure I find the oldest modified file before deleting it. I'm using 'Run Script' action step, I get the dates, I do an If/else comparison. I will then delete the file and make the process repeat after a predetermined number of files are left (the most current). Thank you for your help and time.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:48 PM.


Copyright © 1999-2023 Kinook Software, Inc.