Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: Folder modified time

by Crackers2 (Parson)
on Aug 28, 2009 at 14:30 UTC ( #791925=note: print w/replies, xml ) Need Help??

in reply to Re: Folder modified time
in thread Folder modified time

That test doesn't seem to match his description. That would be more like:

> md dir1 > md dir1\dir2 > copy nul dir1\dir2\file

And he's expecting the mtime of dir1 to be updated after the copy.

Replies are listed 'Best First'.
Re^3: Folder modified time
by ikegami (Pope) on Aug 28, 2009 at 16:46 UTC

    The system (NTFS + WinXP) doesn't appear to work that way.

    As you can see, the system says the parent directory (".") was last modified earlier than when the child directory ("dir2") was last modified:

    >dir dir1 Volume in drive C is C Volume Serial Number is 28AB-0E8B Directory of C:\Documents and Settings\ikegami\dir1 2009/08/28 12:43 PM <DIR> . 2009/08/28 12:43 PM <DIR> .. 2009/08/28 12:44 PM <DIR> dir2

    Perl reports the same.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://791925]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2018-01-18 01:17 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (206 votes). Check out past polls.