(2019-12-02, 10:09 PM)markn62 Wrote: Eight hours of effort later I finally arrived at a fix. Got no help from the Nas vendor/forum to create a transparent share even when user permission set to "everyone". Rather than fight MS I finally conceded to change the Nas share to have a matching user/pw to an account in the box running the NextPvr service. With this I was able to set the service log on from Local System to This Account without an error. Now I have another hour of work changing passwords & scripts in other devices to support this change. Domino effect...Changing to This Account apparently broke the execution of postprocessing.bat. If I execute the script from explorer it copies the ts files from folder A to B fine using FORFILES command in the script. If NextPvr executes the script the two FORFILES commands within the script can't find the Nas directory. I tried changing the mapped drives in the script for smb, no change. Does it need to be located somewhere else now, perhaps on the Nas drive? Or does the script need to be executed differently?
For now I have the Win scheduler calling the script every 30 min and works fine as a work-around.
Snip from nrecord.log
2019-12-02 19:00:00.374 [DEBUG][9] Starting: C:\Users\Public\NPVR-data\scripts\PostProcessing.bat
2019-12-02 19:00:00.471 [DEBUG][68] C:\Users\Public\NPVR-data\scripts>ECHO OFF
2019-12-02 19:00:00.515 [ERROR][33] ERROR: The specified directory does not exist.
2019-12-02 19:00:00.550 [ERROR][33] ERROR: The specified directory does not exist.
smb gives different error;
2019-12-02 21:00:00.450 [ERROR][5] ERROR: UNC paths (\\machine\share) are not supported.