取消
显示结果 
搜索替代 
您的意思是: 

New Folder Permissions

When I programmatically create a New Folder the properties on that folder are automatically set to Read Only. (This is LabView 6.1). I need to unset this paramater so that the folder can be deleted, programmatically, if needed. I've tried experimenting with the permissions parameter in NewFolder but no matter what I do the folder is created as Read Only. Is there anyway out of this?
0 项奖励
1 条消息(共 4 条)
2,959 次查看
Permissions are very OS dependent what OS are you using?
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 项奖励
2 条消息(共 4 条)
2,950 次查看
Win2000 or XP
0 项奖励
3 条消息(共 4 条)
2,947 次查看
The permission input is made up of 9 bits of an integer. The easiest way to control this is to change the radix of the control or constant you use and change it to binary. Then, you have nine 0 or 1 digits which you need to set. I don't remember their details at the moment (I think they are read, write and execute for three different levels), but it should be documented in the help. I think nine 1's (511) should do what you want, but you should note that in any case LabVIEW sometimes holds an open reference to a folder you used and doesn't release it until LabVIEW is closed.

___________________
Try to take over the world!
0 项奖励
4 条消息(共 4 条)
2,927 次查看