In my code below, for some reason, the ProcessFiles Sub creates the .mnt files into the root of \\bg-20nas\g$\hedi\ rather than \\bg-20nas\g$\hedi\output and I'm not sure why. I checked the permissions on the output folder aand realized the everyone group has no read rights. But g$ is a sensitive drive. How can I determine what network ID I need to add to the directory for my app in order to let it write there? It seems to get to \\bg-20nas\g$\hedi\ just fine so I am not certain if that's the reason it's not able to create the files in \\bg-20nas\g$\hedi\output.
You'd think that since it's creating them in \\bg-20nas\g$\hedi\ , then somehow it's pointing there but I don't see how since I defined \\bg-20nas\g$\hedi\output as the output directory