Page 1 of 1 1
Topic Options
#203401 - 2011-10-26 06:16 PM CompareFileTimes
SeaMonkey Offline
Just in Town

Registered: 2009-08-13
Posts: 1
Loc: Iowa "Midwest"
I can't seem to get this working. What am I doing wrong?

IF IN GROUP ("temp app")

$Result = CompareFileTimes("\\powervault\OEM Office\Quality Documents\ISO\Database Master Files\OEM\OEM_version.txt", "C:\DFP\OOO\OEM_version.txt")
IF $Result = 1
COPY "\\powervault\OEM Office\Quality Documents\ISO\Database Master Files\OEM\*.*" "C:\DFP\OOO\*.*"
ENDIF
ENDIF


Edited by SeaMonkey (2011-10-26 06:47 PM)

Top
#203404 - 2011-10-26 07:33 PM Re: CompareFileTimes [Re: SeaMonkey]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Looks ok to me, except for the space in IN GROUP, should be INGROUP.

 Code:
IF INGROUP("temp app")
   IF CompareFileTimes("\\powervault\OEM Office\Quality Documents\ISO\Database Master Files\OEM\OEM_version.txt", "C:\DFP\OOO\OEM_version.txt") = 1
      COPY "\\powervault\OEM Office\Quality Documents\ISO\Database Master Files\OEM\*.*" "C:\DFP\OOO\*.*"
   ENDIF
ENDIF

Top
#203405 - 2011-10-26 07:35 PM Re: CompareFileTimes [Re: SeaMonkey]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
IF IN GROUP ("temp app") is not valid Kix code.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

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
0 registered and 1441 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

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

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