다음을 통해 공유


filelastmodified (Windows CE 5.0)

Send Feedback

This command returns the last modification date of a file or directory.

filelastmodified [filesys path]

Parameters

  • filesys path
    Fully qualified path to the file or directory of interest.

Example Code

The following example shows how you can use this command.

; *******************************************
; Getting modified time
; *******************************************
set file "control panel.lnk"
echo "'%file%' last modified on `filelastmodified "%file%"`"

Remarks

This command outputs a date string representing the date and time at which the named file or directory was last modified.

This command is typically used within backticks to perform command substitution.

See Also

Environment Commands

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.