Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFileVersion Issue
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00209200
Message ID:
00209812
Vues:
33
>>>Hiya Ed,
>>>
>>>Do me a favor if you will. Can you try it on a file on the server for which the rights (like a read-only directory) are limited? I'm wondering if something like this might be causing the problem Ken's having.
>>>

George, my testing shows that GetFileVersion() works as long as the user has at least read privileges on both the file being tested and directory it resides in when the file is on an NTFS volume shared to both Win98 and NT 4.0 systems, when the user is authorized either as a local user, or as a domain member with valid rights on the target system.

>>>Thanks,
>>
>>No problem - I have a restricted userid I can try when I get back home this evening. I was logged in with domain admin privileges, so that wasn't considered. I assume that read but not write or change privileges in the directory as opposed to specific file access rights is is what you want me to test.
>
>Hi Ed,
>
>Yep, I think that'll do it. I'm interested for future reference as we're adding an NT server (as opposed to Novell) in the near future.
>
>Thanks,
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform