Re: updating dos access time

2003-06-16 Thread Mark G
this; <~~~cut #!PERL -w open(FILE,'>> ./test.dat') || die "$!\n"; print FILE "hello"; close FILE; print "last modified:\t" . scalar (localtime ( (stat "./test.dat")[8] ) ); <~~paste hth, Mark G - Original Message ----- From: &

updating dos access time

2003-06-15 Thread Andrew Watson
Hi, In Win32 how do I make the dos access time , that obtained via 'dir /TW', reflective of when I add a file to a directory. For instance running open(FILE,">c:\\test\\file.txt"); print FILE "hello"; close FILE; does not seem to update the last accessed time of c:\test Thanks Andrew -- To