01-25-2011 06:48 AM
I had this vi working once and now I can't recreate it. I have a folder with an ASCII file of temperature readings from each day of the month. The filename consists of the date and time. I want to recall each file in a loop and find the maximum value in three of the columns (that all works). My problem is that even though the date portion of the filename is easily found, the time stamp could be anything. So, a created a path that includes the drive, the folder, and the subfolder (the month of the year). Then I appended from the loop the day of the month. I am using an asterisk '*' as a wildcard. The vi does not like it. If I strip off the time portion of all of the filenames, it works fine.
Example of a file name : Q:\APR\2010\1_2010\1_22_2010 60719 AM - Type of file is a Text Document
Example of using a wildcard: Q\APR\2010\1_2010\1_22_2010*
It's at the end as people on this board have suggested.
01-26-2011 02:31 AM
Hi Ronster,
you can use the "List Folder" function with a wildcard. Is this an option for you?
Mike
01-26-2011 04:36 AM
Does the list function require interaction by the user? I was hoping to avoid that. I'll check it out. Thanks.
Ron
01-26-2011 05:29 AM
Hi Ronster,
no it doesn't. You can use it to list all specific files in a defined folder.
Mike