<< pathconvert Paths - Filenames tempname >>

Scilab Help >> Files : Input/Output functions > Paths - Filenames > pathsep

pathsep

現在のオペレーティングシステムのPATH環境変数で使用されるパス区切り文字を提供します.

呼び出し手順

s = pathsep()

パラメータ

s
キャラクター Windowsでは ";", Linuxでは ":".

pathsep()
getenv PATH
tokens(getenv("PATH"), pathsep())
--> 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"

参照


Report an issue
<< pathconvert Paths - Filenames tempname >>