hi,
i want to add today's date to the file i want to append but i don't know how to.
i tried this
but that doesn't work
any ideas?
thanks
zach
i want to add today's date to the file i want to append but i don't know how to.
Code:
Dim Sessions As Object
Dim System As Object
Set System = CreateObject("EXTRA.System") ' Gets the system object
Set Sessions = System.Sessions
Dim Sess0 As Object
Set Sess0 = System.ActiveSession
IDfile = "C:\\test.txt"
Open IDFile for Append as #1
For i = 1 to 24
MyArea = Sess0.Screen.GetString (i,1,80)
Print #1, MyArea
next i
Close #1
i tried this
Code:
IDfile = "C:\\test & DATE.txt"
any ideas?
thanks
zach