Page 1 of 1 1
Topic Options
#19338 - 2002-04-02 12:35 AM GetFileTime
garciasg Offline
Lurker

Registered: 2002-02-06
Posts: 3
I am trying to read the last modified time of an html file.

C:\EPOAgent\AgentDB\Log\default.htm

I tried:
$Update = GetFileTime(@LDRIVE + "\EPOAgent\AgentDB\Log\default.htm"

This errors. Can anybody help?

Top
#19339 - 2002-04-02 02:26 AM Re: GetFileTime
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You forgot a closing parenthesis in your line of code. It has to be
code:
$Update = GetFileTime(@LDRIVE + "\EPOAgent\AgentDB\Log\default.htm")

You can display the error message with
code:
? @ERROR - @SERROR

Also does it work for
code:
$Update = GetFileTime("C:\EPOAgent\AgentDB\Log\default.htm")

_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1607 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.053 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org