tips-programming

fn = “X:\APP\test.jpg”;
fn = fn.replace(/\/g, “\\”);

결과: “X:\APP\test.jpg”