As a Yuri wrote there is a ADDBS() function, but if you want to do it yourself:
c_path = c_path + IIF(RIGHT(ALLTRIM(path_to_file),1)#"\","\","")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.