I am new to Javascript and I developed a code and one of the functions needs a path (a directory location) as its input. It works fine for all windows paths
get _path("c:/somedir/somedir") but when i transfered this file on to a unix system and when I replace this path with a unix path it does not work. I am very sure I am giving the wrong path format. I tried all the possible ways, I am not sure what is missing.
Expand|Select|Wrap|Line Numbers
- get_path(".:/bin/somedir");
- get_path("/bin/somedir");
- get_path("./bin/somedir");
- get_path("\bin\somedir");