khalidAltayaran Posted March 7, 2016 Posted March 7, 2016 Hello, I'm new here and new to AutoIT. This is an amazing tool and inspiring contributions from the members. I would appreciate some help since I have little experience. We are looking for a script to run through a large file servers and build an HTML report detailing files, their age (more than a year), last access, and the person having full permission access... Thank you....
Moderators Melba23 Posted March 7, 2016 Moderators Posted March 7, 2016 khalidAltayaran, Welcome to the AutoIt forums. But I must point out that we do not provide scripts to order - we help you get your script running as you wish. Think of the old saying: "Give a man a fish, you feed him for a day; give a man a net and you feed him forever". We try to be net makers and repairers, not fishmongers. So.....what have you coded so far yourself? M23 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
rudi Posted March 11, 2016 Posted March 11, 2016 (edited) Hello. As a start, lookup the autoit help files for: FileGetTime() filefindfirstfile() filefindnextfile() $RootDir="C:\temp\" $files=0 $dirs=0 SearchRecursive($RootDir) MsgBox(0,"done",$files & " files in " & $dirs & " directories were scanned.") Func SearchRecursive($_path) $dirs+=1 Local $search=FileFindFirstFile($_path & "*.*") if $search=-1 Then ;nothing at all FileClose ($search) Return EndIf while 1 $next=FileFindNextFile($search) if @error Then ExitLoop ; done for this DIR if @extended Then SearchRecursive($_path & $next & "\") Else $files+=1 ; get the info you are looking for ; and build your html page EndIf WEnd FileClose($search) EndFunc Regards, Rudi. Edited March 11, 2016 by rudi Earth is flat, pigs can fly, and Nuclear Power is SAFE!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now