QTP Script To Get Abbreviated Name of Current Month
Dim a
a=MonthName(Month(Date),True)
MsgBox(a)
Output-Aug
Showing posts with label qtp-vb script. Show all posts
Showing posts with label qtp-vb script. Show all posts
QTP Script To Get Abbreviated Name of Current Month-VB Script To Get Abbreviated Name of Current Month
QTP Script to Get Last Modified Date and Time of a Folder-VB Script to Get Last Modified Date and Time of a Folder
QTP Script to Get Last Modified Date and Time of a Folder-VB Script to Get Last Modified Date and Time of a Folder
How to get Last Modified 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 Last Modified on: " & b.DateLastModified
MsgBox(c)
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)