top of page
- API -

pathInfo = reaper.AZ_GetPathInfo(fullPath)

- API Detail-

▼Input values

・fullPath: target path


▼Output values

・pathInfo: path info object

→ParentPath: parent folder path

→ParentName: parent folder name

→FilePath: full file path

→FileName: file name

→FileNameWithoutExtension: file name without extension

→Extension: extension

  →Type: Folder/File/blank

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


path = "D://script//wav//JP//AZ_vo_PL0000_01.wav"

pathInfo = reaper.AZ_GetPathInfo(path)


Msg(pathInfo.ParentPath)

Msg(pathInfo.ParentName)

Msg(pathInfo.FilePath)

Msg(pathInfo.FileName)

Msg(pathInfo.FileNameWithoutExtension)

Msg(pathInfo.Extension)

Msg(pathInfo.Type)

FILE/FOLDER

AZ_GetPathInfo

Supported versions:

1.1.0

onwards

Output each piece of full path information as a map array

bottom of page