Hello All
I have a txt file that logs users login attemps everyday.
the line it writes looks like this:
9:56:12 9/3/2006,jbloggs,Lap01234,10.0.0.1
I would like to search this txt file for the last occurrence of a login but im not too sure what to do?
I know i need to use FSO but im stumped as to what the code would be.
Does anyone have a quick example they can point me to to open a txt file search it for the last occurrence of a "jbloggs" and then write that line to another txt file?
Any help would be appreciated im not a VB person but you guys have helped me before.
Thanks in advance
Rob
I have a txt file that logs users login attemps everyday.
the line it writes looks like this:
9:56:12 9/3/2006,jbloggs,Lap01234,10.0.0.1
I would like to search this txt file for the last occurrence of a login but im not too sure what to do?
I know i need to use FSO but im stumped as to what the code would be.
Does anyone have a quick example they can point me to to open a txt file search it for the last occurrence of a "jbloggs" and then write that line to another txt file?
Any help would be appreciated im not a VB person but you guys have helped me before.
Thanks in advance
Rob