473,394 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How can i find which program modified a file?

As it's written in the subject, i would like to know how can i find
which program modified a file (last access, last changed).

By example: Example.txt in a log directory
I need to know which apps wrote in

Thx
Nov 15 '05 #1
6 2190
look the "StreamReader Class" in the sdk Framework .net
"Cyril Vi?ville" <cy************@hotmail.com> a écrit dans le message de
news:75**************************@posting.google.c om...
As it's written in the subject, i would like to know how can i find
which program modified a file (last access, last changed).

By example: Example.txt in a log directory
I need to know which apps wrote in

Thx

Nov 15 '05 #2
Unless the application marks it in some way, you can not determine the
*application* that wrote a file unless you watch while it's open. Assuming
an NTFS file system, you can turn on auditing and determine which *user*
modified the file.
"Cyril Vi?ville" <cy************@hotmail.com> wrote in message
news:75**************************@posting.google.c om...
As it's written in the subject, i would like to know how can i find
which program modified a file (last access, last changed).

By example: Example.txt in a log directory
I need to know which apps wrote in

Thx

Nov 15 '05 #3
"KaHuNa" <ka****@quickemail.de> wrote in message news:<400519b9>$1**@news.vo.lu>...
look the "StreamReader Class" in the sdk Framework .net
Thx but it's just to know some info on the file but not on the last
program that modified it i think.
Do you have another solution?
"Cyril Vi?ville" <cy************@hotmail.com> a écrit dans le message de
news:75**************************@posting.google.c om...
As it's written in the subject, i would like to know how can i find
which program modified a file (last access, last changed).

By example: Example.txt in a log directory
I need to know which apps wrote in

Thx

Nov 15 '05 #4
Cyril Vi?ville <cy************@hotmail.com> wrote:
As it's written in the subject, i would like to know how can i find
which program modified a file (last access, last changed).

By example: Example.txt in a log directory
I need to know which apps wrote in


I don't believe anything stores that information.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #5
Your only option is writing a File system filter driver using the DDK
(Device Driver Development kit).
Managed code is not an option here.

Willy.

"Cyril Vi?ville" <cy************@hotmail.com> wrote in message
news:75**************************@posting.google.c om...
As it's written in the subject, i would like to know how can i find
which program modified a file (last access, last changed).

By example: Example.txt in a log directory
I need to know which apps wrote in

Thx

Nov 15 '05 #6
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message news:<#9**************@TK2MSFTNGP10.phx.gbl>...
Your only option is writing a File system filter driver using the DDK
(Device Driver Development kit).
Managed code is not an option here.

Willy.
Really Thx.
I don't have time to do that!!! So my little antivirus 'll just use Filewatcher
and NotifyFilter but certainly not a DDD.
"Cyril Vi?ville" <cy************@hotmail.com> wrote in message
news:75**************************@posting.google.c om...
As it's written in the subject, i would like to know how can i find
which program modified a file (last access, last changed).

By example: Example.txt in a log directory
I need to know which apps wrote in

Thx

Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Thieum22 | last post by:
Hi, I try to go through a directory and it's subdirectories to reah the properties of each files. But I have a problem to set active the directory where the files are, in order to display their...
0
by: Ashish | last post by:
Hi, I am not able to find out the Delta XML. Requirement Spec: If I have a file with <ID>101</ID> <Name>BOB</Name> I want to add the changes made to the file like rows added , removed and...
3
by: Arti Potnis | last post by:
Hi, I am trying to execute the DB2 load utility from a C program. lPid = fork(); execl(csExePath, csExeName,csCmd, NULL); the contents of the parameter variables are as follows:-
1
by: verge | last post by:
hello everyone! how's it going? like everyone in here im in need of some help and good friendship along the way...take a look at this: //MODIFIED SO IT DEALS WITH WINDOWS FTP USING ACTIVE...
102
by: hug | last post by:
www.webmaster, was suggested that this ng could be a better place.] I've updated my test server to handle if-modified-since. I've noticed that the (old copies I run of) IE and Netscape seem...
3
by: sir.linying | last post by:
My php script is to call perl scipt which makes use of Spreadsheet::ParseExcel module to parse Excel file. I am able to launch php script from command line so that perl script can run and properly...
66
by: genestarwing | last post by:
QUESTION: Write a program that opens and read a text file and records how many times each word occurs in the file. Use a binary search tree modified to store both a word and the number of times it...
0
by: tomzam | last post by:
I'm trying to get mysql working on Fedora Core 4. Actually trying to start the program mysqld without fatal errors. I posted this message first on the linux misc group - but no luck so far. Maybe...
9
by: Hemant Shah | last post by:
How do I find out when the table was modified? When I look at syscat.tables it only lists creation time. -- Hemant Shah /"\ ASCII ribbon campaign E-mail:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.