robrilla 0 Posted April 23, 2013 (edited) Hello,I’m looking to get the most recent last access time (Date) from the list of contents of a list of drives from a list of environments that are located in a txt file and output the results into another txt file.For example -Enviroment.txtEnv1Env2Env3Get the last access date (FileGetTime A) for C$, D$, E$So it would be something like the most recent last access date of the contents Env1C$The output in csv formatEnviroment_Date.txtEnviroment, Drive, Last Access DateEnv1, C, 4/22/2013Env1, D, 4/14/2013Env1, F, 1/14/2013Env2, C, 3/22/2013Env2, D, 4/14/2013Env2, F, 2/14/2013Env3, C, No AccessEnv3, C, No AccessEnv3, C, No AccessEnv4, C, 3/23/2013Env4, D, 4/11/2013Env4, F, 2/13/2013Thanks for your help,-Rob Edited April 23, 2013 by robrilla Fixed font size Share this post Link to post Share on other sites
Melba23 3,396 Posted April 23, 2013 robrilla, Welcome to the AutoIt forum. There are number of CSV file to array scripts out there - try searching and see what you can find. Once you have the data in an array, you should have no problem accessing the data you need. M23 P.S. Can you stick to the default font in future please - some of us are getting on a bit and that post was originally rather difficult to read. Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Share this post Link to post Share on other sites