开发者

How determine File is Open in WIndow while writing file using Flex 3/AIR File Class

I want to update a file using FLex3/AIR File class. I know how to do this , but before writing(updating) to file i want to check if current file is open in the OS or some 开发者_运维百科other application is using that file or not . please kindly help on this.

Thanks Sanjay


You can't do this with AIR alone. However, you can launch a command line app from your AIR app to get this info and return it to AIR. You'd need a separate command line and results processor per OS though.

On Windows you can do this with handle.exe.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜