My guess is that the final file path exceeds Windows length limit of 260 characters. I get a "No such file or directory" error when I try to reproduce on my Windows 10 VM though, not "Permission denied".
Is your resource path longer than 78 characters (260 - 182)?
I've tested a possible workaround (effectively bumping the OS limit to about 32,767 characters). This allows ReaPack to successfully create the file but the big downside is that REAPER then puts the full absolute path in reaper-kb.ini instead of a relative path as usual. This breaks the script whenever the resource path changes (eg. REAPER is installed on a USB key which changes drive letter depending on the computer it's plugged in).
Adding a script with a path larger than 260 characters using the Action List's load button also writes an absolute path.
Last edited by cfillion; 07-02-2017 at 04:46 PM.
|