Path File Name Without Extension
Returns the last segment of a filesystem-like path string without its final extension. Only the final suffix is removed, so `foo.prproj.zip` becomes `foo.prproj`. Trailing path separators are ignored before the file name is read.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
path | yes | expression | string | — |
Notes
- Pure read expression that returns the last segment of a filesystem-like path string without its final extension.
- Removes only the final suffix, so
foo.prproj.zipbecomesfoo.prproj.
Examples
Rename File By Changing Extension
Builds a new leaf name from the original file name without extension, then renames the file inside its current parent folder.
Topics: files, path handling
Source: patterns/ex-files-rename-by-changing-extension.json
Render Sequence Marker Ranges
Renders one safely named file per non-zero-duration active-sequence marker. The setup dialog offers an optional `.epr` preset; leaving it empty uses the Premiere-installed H.264 Match Source - Adaptive High Bitrate preset.
Topics: markers, rendering and export, sequence export, presets, filename patterns, file dialogs, folder dialogs, collision handling
Source: recipes/ex-markers-render-active-sequence-ranges-with-preset.json