Hi,
Thanks. I guess it couldn't be simpler than that !
Now I'm intrigued by the other possiblilities. It would be interesting to create my own alternate streams - but that's for a .NET application
Best,
Viv
>The DeleteFile() Win API will do
>
>* VFP code
>lcFileName = "C:\Temp\Whatever.exe"
>lcStreamName = "Zone.Identifier:$DATA"
>DECLARE Long DeleteFile IN WIN32API String FileName
>IF DeleteFile(lcFileName + ":" + lcStreamName) = 0
> * Couldn't Unblock
> * Use GetLastError() and http://www.berezniker.com/content/pages/visual-foxpro/retrieving-windows-system-error-message to retrieve the error and error message
>ENDIF
>
>
>>That will work for me - but I'll probably need to also do this on client sites as well so I'm hoping to find a way of doing this via Windows API (looks like it might be in shdovw.dll?)
>>