local PATH_SEPARATOR = "/"
if (os.platform() == "WINDOWS") then
PATH_SEPARATOR = "\\"
end
local target_path = target_root...PATH_SEPARATOR..ins_folder..PATH_SEPARATOR..filename
That would be useful if outputting paths. However say if you are reading a paths from Window into a variable and then print that path it will display "" however internally it is storing them as “\” and this is what was confusing me. Anyway problem solved now, thanks for the help.