Results 1 to 2 of 2

Thread: File lock or folder lock

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116
    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



  2. #2
    Guest
    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
  •  



Click Here to Expand Forum to Full Width