the error :
Application
===========
Path and name: C:\work\prg\UPDATE\actver.Exe (32 bits)
Size: 1,536,000 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 02/11/09, 10:33:34
Error description: Error BASE/1108 Argument error: AT
Args:
[ 1] = C :
[ 2] = U
Stack Calls
===========
Called from: => AT(0)
Called from: .\source\function\FILENAME.PRG => CFILENOPATH(0)
Called from: .\source\function\FILENAME.PRG => CFILENAME(0)
Called from: actver.prg => MAIN(8)
Application
===========
Path and name: C:\work\prg\UPDATE\actver.Exe (32 bits)
Size: 1,536,000 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 02/11/09, 10:33:34
Error description: Error BASE/1108 Argument error: AT
Args:
[ 1] = C :
[ 2] = U
Stack Calls
===========
Called from: => AT(0)
Called from: .\source\function\FILENAME.PRG => CFILENOPATH(0)
Called from: .\source\function\FILENAME.PRG => CFILENAME(0)
Called from: actver.prg => MAIN(8)
#include "FiveWin.Ch"
FUNCTION main(cFile)
//------------------------------
LOCAL cFileName
SysWait(.7)
FErase(cFile)
cFileName:=cFileName(cFile)
FRename('tmp.exe',cFilename)
WinExec( cFileName )
PostQuitMessage(0)
QUIT
RETURN NIL
FUNCTION RddSys(); RETURN NILBest Regards, Saludos
Falconi Silvio
Falconi Silvio