Hi there
I'm using the new experimental scripts system, all ps1 scripts, and getting context using $env:CURRENT_DIR etc. It's been working well for several months with no problem, including using nested subfolders for organisation.
I noticed a around a week ago that I tried to run a script and it failed. I'm just troubleshooting now and it seems that none of the scripts work no matter where in my folder structure they sit - it simply says "The system cannot find the file specified". That's in the OC notification panel (at the bottom) and also in logs. It doesn't give any more information than that.
It's odd, because when I use the "Scripts" button at the top I can navigate all my folders of scripts and they're displaying correctly with the associated icons, and even if I select "open scripts folder" I can see and open my scripts in a text editor with no problem.
It appears that it's just the execution of the script that is failing (there's also no command prompt window that appears) and literally all it says in the logs is "The system cannot find the file specified".
I restarted both OC and my machine and that makes no difference.
What else can I try?
Anecdotally, I haven't used scripts in a while and seem to remember an update being pushed out several weeks ago, so it may have been broken since then but I'm not sure if it's tied to the new release or not.