"BTW, did you see my example in your previous thread ?"
Only now. I'm not here as often as I used to be. Meanwhile I've already read most necessary stuff on the DevCD regarding packets. It seems easy.
BTW, the reason a lock on a directory is usefull to me is that the code I've already written allows for global default directories to be defined for various types of stuff. By using a lock on the path for those directories, as the FINDOUTPUT packet does, I wouldn't have have the hassle of creating a new path string to include the name of the file, for every new file I want to create. I remember there are dos functions to deal with path strings but been long since I read about that, and using that would create less efficient code anyway, let alone the time spent on checking how to deal with those functions again.