top of page
- API -

pathInfo = reaper.AZ_GetPathInfo(fullPath)

- API Detail-

▼Input value

・fullPath: Target path


▼Output value

・pathInfo: Path information object

→ParentPath: Parent folder path

→ParentName: Name of the parent folder

→FilePath : Full path of the file

→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