I have a javascript that looks for the path location in which the script is running. When I use an
most computers report in a format that use backslashes as the path separators. On one of the computers I have used this script on it reports slashes as the separator.
eg: most computers report -
"C:\database\test\..."
one computer reports -
"C/:database/test/..."
The code I use to get the path is
- var path = location.pathname
Would this be a script error or a machince/windows problem. Both computer are running up to date service packs and either Explorer 6 or 7 and have the same "Regional settings" setup on them.
I have looked through the forums but I am really unsure of what this problem is call as I am not that familiar with programming.