Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> 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"

参照

  • filesep — カレントのプラットフォームにおけるディレクトのリセパレータを返す
  • getenv — 環境変数の値を取得
Report an issue
<< pathconvert Paths - Filenames splitURL >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:37:52 CET 2022