Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
pathsep
provides the path separator used in the PATH environment variable of the current OS.
Syntax
s = pathsep()
Arguments
- s
- a character:
";"
on Windows, or":"
on Linux.
Examples
--> pathsep() ans = ";" --> getenv PATH "C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\OpenSSH\; ..." --> tokens(getenv("PATH"), pathsep()) ans = "C:\Windows\system32" "C:\Windows" "C:\Windows\System32\Wbem" "C:\Windows\System32\OpenSSH\" "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common" "C:\Program Files\NVIDIA Corporation\NVIDIA NGX"
See also
Report an issue | ||
<< pathconvert | Paths - Filenames | splitURL >> |