I am trying to rename a file using a network path rather than a mapped drive letter due to the fact that different people use different drive letters for the specific location.
When I use the "name filefrom fileto" approach I am getting a "File not found" error. Again, things work fine when I use a drive letter, but that's no longer practical.
I can do a test (dir) on the folder where the file is located and I get a positive result, meaning the code "finds" the FOLDER. But, when I do the same test on the FILE itself (using the whole UNC file path) the code cannot find the file.
Any ideas?
Thanks.
Bookmarks