Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove the ReadOnly attribute
Message
De
05/01/2000 13:59:43
 
 
À
05/01/2000 13:05:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00313315
Message ID:
00313382
Vues:
27
>>>any way within foxpro to remove the read only attribute from a file? I see i can do a lowlevel function to open a file read only.. but does that set the attribute after you close it as well?
>>>
>>>
>>>Thanks,
>>>Jason
>>
>>Hi Jason,
>>
>>Don't think closing the file low level will change the attributes. But I'm sure there is an API or Windows Scripting Host call that can be made for this. I haven't had to do this so I don't know what it would be. You might poke around API and WSH to see and probably someone with more info on this will chime in. If no one does, I'll look at it myself and see what I can find out.
>
>There's a sample implementation of the Win32 API SetFileAttributes() call already on UT in the FAQ as entry #241 Set and get file attributes

Thanks, Ed. I figured probably you or George would know this one off the top of your heads.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform