Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Folder modified time

by Crackers2 (Parson)
on Aug 28, 2009 at 14:30 UTC ( [id://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 (Patriarch) 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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://791925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-18 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found