| View previous topic :: View next topic |
| Author |
Message |
2chin Freshman
Joined: 26 Jan 2004 Posts: 30 Location: Russia
|
Posted: Mar 1st, 2004 05:44 AM Post subject: File permission |
|
|
I can not find any functions for set file/folder permissions in VBasin or Win API
Do anybody know somthing about this? |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Mar 1st, 2004 05:25 PM Post subject: |
|
|
Like this?
[vb:1:132582b2dd]SetAttr "TESTFILE", vbHidden ' Set hidden attribute.
SetAttr "TESTFILE", vbHidden + vbReadOnly ' Set hidden and read-only
' attributes.[/vb:1:132582b2dd]
| Quote: | vbNormal 0 Normal (default)
vbReadOnly 1 Read-only
vbHidden 2 Hidden
vbSystem 4 System file
vbArchive 32 File has changed since last backup |
_________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
2chin Freshman
Joined: 26 Jan 2004 Posts: 30 Location: Russia
|
Posted: Mar 2nd, 2004 06:21 AM Post subject: |
|
|
No. I want set permission on folder for grant create/wrtite files and deny view file list
Thanks |
|
| Back to top |
|
|