How to get Last Accessed date and time of a particular folder?
Dim a,b,c
Set a = CreateObject("Scripting.FileSystemObject")
Set b = a.GetFolder("C:\QTP")
c= "Folder was Accessed last on: " & b.DateLastAccessed
MsgBox(c)
Showing posts with label qtp-folder. Show all posts
Showing posts with label qtp-folder. Show all posts
QTP Script to Get Accessed Date and Time of a Folder-VB Script to Get Accessed Date and Time of a Folder
QTP Script to Get Created Date and Time of a folder-vb script to get Created Date and Time of a folder
QTP Script to get folder created time
Dim a,b,c
Set a = CreateObject("Scripting.FileSystemObject")
Set b = a.GetFolder("C:\QTP")
c= "Folder was Created on: " & b.DateCreated
MsgBox(c)
above script displays created date and time of qtp folder,which is in C Drive.
Subscribe to:
Posts (Atom)