|
-
Jun 2nd, 2000, 08:36 AM
#1
Thread Starter
Lively Member
Is there any api i can use to lock files or folder, preventing them to be accessible from the user???
i tried to open the file without any sharing, it works alright, but it would be a little slow if i want to lock a folder with many many files in it...
YC Sim
Teenage Programmer
UIN 37903254
-
Jun 2nd, 2000, 09:09 AM
#2
I have a nice little way to lock folders for anybody that is unfamiliar with dos.
open up a dos prompt, and rename the folder.
C:\windows\desktop\dennis>rename yaknow _yaknow
but instead of using the normal underscore, use Alt + 255(on the keypad), it can only be changed in dos, like this
C:\windows\desktop\dennis>rename *yaknow yaknow
you can shell dos, and then close the dos window, I am not sure how to do this.
but you can also use API, I guess...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|