Sign in to follow this  
Followers 0
robrilla

List of Last Access Date for contents of folder on network share

2 posts in this topic

#1 ·  Posted (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.txt

Env1

Env2

Env3

Get 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 format

Enviroment_Date.txt

Enviroment, Drive, Last Access Date

Env1, C, 4/22/2013

Env1, D, 4/14/2013

Env1, F, 1/14/2013

Env2, C, 3/22/2013

Env2, D, 4/14/2013

Env2, F, 2/14/2013

Env3, C, No Access

Env3, C, No Access

Env3, C, No Access

Env4, C, 3/23/2013

Env4, D, 4/11/2013

Env4, F, 2/13/2013

Thanks for your help,

-Rob

Edited by robrilla
Fixed font size

Share this post


Link to post
Share on other sites



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._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0