powered by
This function replaces forward slashes with backslashes on Windows systems, and leaves the path unchanged on Unix-like systems.
sanitizePath(path)
A sanitized file path suitable for the current operating system.
A character string representing the file path to be sanitized.
Michal Burda