I have an AMS 5.0 application that gets folder file information from our company's intranet shared drive:
files = File.Find("S:\\SAFETY\\Bulletins", "*.*", false, false, nil);
This worked fine until I discovered that some of our computers have the shared drive mapped as "E" or "T" or some other letter. I cannot request they all remap their computers to "S" for the shared drive as some are already using "S" for some other purpose. Anyway, we have over a hundred computers at our site and I have no idea how many have or do not have "S" mapped as their shared drive.
Does anyone know a way I can rewrite the above code to find the SAFETY folder and it's subfolders no matter which drive letter our 'shared' drive is ID'd to?
One more piece of information. Our shared drive, while using MS explorer, will always be indentified by something like: lnlcc20$ on 'usldcvs(S. Of course you wold replace the 'S' with 'E' or 'T' or whatever the individual's mapped drive letter would be. Thanks for any help.
files = File.Find("S:\\SAFETY\\Bulletins", "*.*", false, false, nil);
This worked fine until I discovered that some of our computers have the shared drive mapped as "E" or "T" or some other letter. I cannot request they all remap their computers to "S" for the shared drive as some are already using "S" for some other purpose. Anyway, we have over a hundred computers at our site and I have no idea how many have or do not have "S" mapped as their shared drive.
Does anyone know a way I can rewrite the above code to find the SAFETY folder and it's subfolders no matter which drive letter our 'shared' drive is ID'd to?
One more piece of information. Our shared drive, while using MS explorer, will always be indentified by something like: lnlcc20$ on 'usldcvs(S. Of course you wold replace the 'S' with 'E' or 'T' or whatever the individual's mapped drive letter would be. Thanks for any help.
Comment