Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Attributes, Modifying with VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00703931
Message ID:
00704148
Vues:
20
PMFJI,

Do you know if this will work from a windows PC to a file residing on a Linux server?

Thanks in advance,

Kevin

You can use WSH
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oFile = oFSO.GetFile(lcfile) && lcfile is the name of the file
* Turn on the read-only bit
oFile.Attributes = BITOR(oFile.Attributes, 0x01)
* Turn off the read-only bit
oFile.Attributes = BITAND(oFile.Attributes, 0xFE)
Kevin Emmrich
www.jkt9000.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform