I've uploaded my file her: https://drive.google.com/open?id=1SncobqtnC_FY6qDRn6_yWHnj9dPO9ZeD Maybe it works if you take that and just replace the folder. it's nor recursive tho so subfolders will not be scanned.
You can try, but it should work with any path that works in windows explorer
I'm not an expert in bat programming but I used the path from the windows explorer and it works well. I would try this path: \\nas1\home\Scans\*.pdf I think the caht here removed the double backslash.
have you pasted the code into an empty text file and renamed the file from .txt to .bat?
Did you save it as a .bat file? It should run for each filoe and at the end prompt for a key to close it. I'm using it frequently since I scan via network from my brotehr scaner. So I already get pdf files but now I use it to make the text searchable. Basicaly it creating your own batch file (https://en.wikipedia.org/wiki/Batch_file) and then excecuting the commands of the naps2.console (https://www.naps2.com/doc-command-line.html)
Sorry, somehow the formating removed the \ between Scans and the rest. cd C:\Program Files (x86)\NAPS2\ for /R %%i in (\nas\home\Scans\*.pdf) do naps2.console -i %%i -o %%i --enableocr --force -n 0 pause --> Doesn't mater where you place it because the fist line will switch to your NAPS2 folder. So you have to change it if it's installed somewhere else. If you don't want to overwrite you can adjust also the -o parameter.
Sorry, somehow the formating removed the \ between Scans and the rest. cd C:\Program Files (x86)\NAPS2\ for /R %%i in (\nas\home\Scans\*.pdf) do naps2.console -i %%i -o %%i --enableocr --force -n 0 pause --> Doesn't mater where you place it because the fist line will switch to your NAPS2 folder. So you have to change it if it's installed somewhere else.
Sorry, somehow the formating removed the \ between Scans and the rest. cd C:\Program Files (x86)\NAPS2\ for /R %%i in (\nas\home\Scans*.pdf) do naps2.console -i %%i -o %%i --enableocr --force -n 0 pause --> Doesn't mater where you place it because the fist line will switch to your NAPS2 folder. So you have to change it if it's installed somewhere else.