Re: File.setLastModified() question




HalcyonWild wrote:
> As far as I know, if a process has a file open, no other process can
> modify it. So if you java class has the file open, the OS process
> cannot modify the modified date on the file.

What I meant is file is in read / write mode. Of course, you can open
two notepad instances, and play around with the files. I guess, notepad
doesnt keep the file open all the time. It opens, does the changes, and
closes the file when you Ctrl-S. Is that true.

.