[solved] Compare timestamps of two files (seconds too)

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
dbenham
Expert
Posts: 2461
Joined: 12 Feb 2011 21:02
Location: United States (east coast)

Re: Compare timestamps of two files (seconds too)

#16 Post by dbenham » 28 Nov 2014 09:27

Quote your file name when you call the subroutine.

Code: Select all

call :FileModTime "c:\test 1\pippo.txt" a

Also, read the prior posts and update your code to use my edited code. Names with comma will still fail if short names are disabled on your machine.


Dave Benham

kadkam
Posts: 14
Joined: 26 Aug 2013 06:32

Re: [solved] Compare timestamps of two files (seconds too)

#17 Post by kadkam » 01 Dec 2014 10:31

All OK Dave.

Thanks to all.

Post Reply