Quote:

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 ]




So this posted code should have worked already for ya, eh ?
_________________________