Ordered that the judgment is affirmed, with costs.
Contrary to the plaintiffs contention, the defendant, Town of Hempstead, was not prohibited by General Municipal Law § 50-e (4) from requiring prior written notice of defects in a paved bike path over which the public has a general right of passage, which is the functional equivalent of a sidewalk or highway ( see Scoville v Town of Amherst, 277 AD2d 1038, 1039; Bacon v Mussaw, 167 AD2d 741, 744; Schneid v City of White Plains, 150 AD2d 549; cf. Walker v Town of Hempstead, 84 NY2d 360; Quackenbush v City of Buffalo, 43 AD3d 1386, 1388). Accordingly, since it is undisputed that the Town did not have prior written notice of the defect alleged by the plaintiff, the Supreme Court properly dismissed the complaint (see Code of Town of Hempstead §§ 6-1, 6-3; Town Law § 65-a).