parameters cesta, string1, string2
cesta = cesta + IIF(RIGHT(m.cesta, 1)="\", "", "\")

use (m.cesta + "food_dat")
replace all dat_path with strtran( dat_path, string1, string2)
replace all cen_path with strtran( cen_path, string1, string2)