I read the faq184-3137 about using the WnetGetConnection api call. This is cool and all but I was using the adir function with the "V" flag to return the volume name. If it is a mapped drive it returns the unc path as the volume name. I am not to familar with the difference between volume name and folder name or if they are one in the same. I am questioning this because if you rename your c:\ drive to say "my drive" as the volume name, adir returns "my drive" for that local drive. So will adir return the correct unc path with the volume or folder for a network drive. I guess I am a little confused on the difference between volumes and folders for the network or local drives. Adir seems to working for me now I just don't want it break in the future. Thanks for the help.
Thanks
Dave L.
Thanks
Dave L.