when os is windows,we must replace the sperator of file path from "/" to "\\"