Setting metadata fails silently for certain properties of audio files located in deeply nested folders (path depth > 259).
This issue appears to be specific to audio files and their tags. Metadata operations on non-audio files and video files work as expected.
Quick demo:
@set lp=LongPath111111111111111111111111111111111111111111\LongPath222222222222222222222222222222222222222222\LongPath333333333333333333333333333333333333333333\LongPath444444444444444444444444444444444444444444\LongPath555555555555555555555555555555555555555555
Copy WHENEXISTS=replace FILE=/windows\Media\Alarm01.wav TO=/downloads
Copy WHENEXISTS=replace FILE=/windows\Media\Alarm01.wav TO=/downloads CREATEFOLDER={$lp}
SetAttr META title:"the new title" FILE=/downloads\Alarm01.wav
SetAttr META title:"the new title" FILE=/downloads\{$lp}\Alarm01.wav
Go PATH=/downloads\Alarm01.wav OPENINLEFT
Go PATH=/downloads\{$lp}\Alarm01.wav OPENINRIGHT
Set METAPANE=on
XML
<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
<label>DemoLongPath</label>
<icon1>#newcommand</icon1>
<function type="normal">
<instruction>@set lp=LongPath111111111111111111111111111111111111111111\LongPath222222222222222222222222222222222222222222\LongPath333333333333333333333333333333333333333333\LongPath444444444444444444444444444444444444444444\LongPath555555555555555555555555555555555555555555</instruction>
<instruction />
<instruction>Copy WHENEXISTS=replace FILE=/windows\Media\Alarm01.wav TO=/downloads</instruction>
<instruction>Copy WHENEXISTS=replace FILE=/windows\Media\Alarm01.wav TO=/downloads CREATEFOLDER={$lp}</instruction>
<instruction />
<instruction>SetAttr META title:"the new title" FILE=/downloads\Alarm01.wav</instruction>
<instruction>SetAttr META title:"the new title" FILE=/downloads\{$lp}\Alarm01.wav</instruction>
<instruction />
<instruction>Go PATH=/downloads\Alarm01.wav OPENINLEFT</instruction>
<instruction>Go PATH=/downloads\{$lp}\Alarm01.wav OPENINRIGHT</instruction>
<instruction />
<instruction>Set METAPANE=on</instruction>
</function>
</button>
Directory Opus 13.22.8.0 build 9469 english
Windows 11 25H2 build 26200.8246 (AMD64)

