Have you rebooted your system? May be it still thinks a volume is mounted…
I have rebooted, but still not working. The odd thing is sometimes it adds the folder again sometimes it doesn't. But either way it never goes to the correct network folder now. Same exact code that worked over 25 times in a row.
Now when it adds the folder, it appends the previously mounted actual volume name with a -1.
I found some of the folders.... apparantly they were created in the "XHTML For Digital Editions" folder?????
Hopefully this is a clue to what's going on.
... More Importantly I changed the Volume path folder in the script to myFolders-1 and it's working again...
So I should probably hit a mac forum and see how to make the Mac forget that the volume name that now is referenced through a -1.
Though I was not able to see an actual "myFolders" folder when viewing the Volumes by right clicking on a network volume and selecting "Open enclosing Folder", I was able to navigate there by using the Go To folder option from the finder menu.
I then deleted the unwanted folder, I remounted the actual network Volume I wanted that was coming up as -1 and all is well now.