file.getPathChar

Syntax file.getPathChar ()

Params None required

Action Determines the path separator for the current operating system.

Returns The path separator for the current operating system.

Examples file.getPathChar ()

   » "\\" // Windows

file.getPathChar ()
":" // Mac OS

Notes This verb is useful for writting cross-platform scripts that deal with files in a portable way.

This verb is implemented as a script.

Discuss