Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable security alert
Message
 
To
05/08/2009 18:24:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01416362
Message ID:
01416618
Views:
78
This message has been marked as the solution to the initial question of the thread.
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
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform