std/private/osseps

Source   Edit  

Consts

AltSep = '/'
An alternative character used by the operating system to separate pathname components, or the same as DirSep if only one separator character exists. This is set to '/' on Windows systems where DirSep is a backslash ('\\'). Source   Edit  
CurDir = '.'

The constant character used by the operating system to refer to the current directory.

For example: '.' for POSIX or ':' for the classic Macintosh.

Source   Edit  
DirSep = '\\'
The character used by the operating system to separate pathname components, for example: '/' for POSIX, ':' for the classic Macintosh, and '\\' on Windows. Source   Edit  
doslikeFileSystem = true
Source   Edit  
DynlibFormat = "$1.dll"
The format string to turn a filename into a DLL file (also called shared object on some operating systems). Source   Edit  
ExeExt = "exe"
The file extension of native executables. For example: "" for POSIX, "exe" on Windows (without a dot). Source   Edit  
ExtSep = '.'
The character which separates the base filename from the extension; for example, the '.' in os.nim. Source   Edit  
FileSystemCaseSensitive = false
True if the file system is case sensitive, false otherwise. Used by ospaths2: cmpPaths proc to compare filenames properly. Source   Edit  
ParDir = ".."

The constant string used by the operating system to refer to the parent directory.

For example: ".." for POSIX or "::" for the classic Macintosh.

Source   Edit  
PathSep = ';'
The character conventionally used by the operating system to separate search path components (as in PATH), such as ':' for POSIX or ';' for Windows. Source   Edit  
ScriptExt = "bat"
The file extension of a script file. For example: "" for POSIX, "bat" on Windows. Source   Edit