Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable security alert
Message
De
07/08/2009 14:57:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
01416362
Message ID:
01416817
Vues:
43
>Hi,
>
>
>*============================================================
>* Removes the security warning for all files in a directory
>* that match the pattern
>*============================================================
>LParameter tcPattern
>
>  Local laDir[1], lnFile
>  Declare Long DeleteFile in Win32Api String
>  For lnFile=1 to ADir(laDir,m.tcPattern)
>    DeleteFile( ;
>      Addbs(FullPath(JustPath(m.tcPattern)))+;
>      laDir[m.lnFile,1]+":Zone.Identifier" ;
>  )
>  EndFor
>
>For more information see my blog entry at http://www.foxpert.com/knowlbits_200906_1.htm

Really weird. I thought this problem might appear with any shared EXE, now it seems this only applies to files that have certain NTFS streams?

If I understand correctly, the changes can be done on the EXE files themselves; I believed this was about security settings that had to be changed on every user's machines!

OK, thanks a lot.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform