Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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]
NodeReaper preheats the oven before tossing in a TV dinner

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-03-23 02:07 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (287 votes). Check out past polls.