|
|
#1 |
|
Beta Member
Join Date: Jan 2012
Location: INDIA
Posts: 4
|
Hi,
Can anyone tell me how to use a "notepad" and keep a LOG of usage of that same LOG file?? I mean, by using ".LOG" inside the notepad it will display the date and time every time i access it. So can i keep a record of these usages in that notepad... or any other notepad... |
|
|
|
|
|
#2 |
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
Sorry, you'll have to explain what you're trying to do more clearly - are you trying to log each time anyone accesses a particular file?
__________________
Save the whales, feed the hungry, free the mallocs. |
|
|
|
|
|
#3 |
|
Beta Member
Join Date: Jan 2012
Location: INDIA
Posts: 4
|
Exactly.... Anyway u can do tat??
|
|
|
|
|
|
#4 |
|
Site Team
Join Date: Mar 2004
Posts: 6,945
|
change the name or your text file from .txt to .log
then addition come with a date each time you open the file. if you want to log access you'll need to look at folder access audition. right click the file, select properties. go to the security tab, click advanced then look at the auditing tab, (and this is only available on certain versions of windows.) then you can log in the security log (event viewer) each time a file the file is read/accessed/changed, each time someone unauthorised attempts to open the file etc.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian… Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns. "The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries." |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|