Nay,

2 would be "File not found"

what happens if you run this :

Code:

break on

$smsw_date_time=GetFileTime("y:\program files\smartswitch\smartswitch.dfn")
@error ?
$smsw_date_time ?

get $

exit 0



[Note the g in proram files ]


Edited by Jochen (2006-03-20 02:06 PM)
_________________________