1 Reply Latest reply on Aug 22, 2007 4:26 AM by Newsgroup_User

    Folder permissions

    Level 7
      Hi.

      Is is possible to define, if I can write to some specific folder on Windows
      with one single function ?

      For example budAPI xtra has a function "Filepermissions", but it works just
      on Macintosh.
      I need something like that on windows

      Any help will be appreciated
      Orest


        • 1. Re: Folder permissions
          Level 7
          The easy way is to try to copy a file to that folder using baCopyFile()
          or any of it's alternates. It will return an error code if it is unable
          to copy the file there. Or, really, most of Buddy's commands for
          writing to files, like baWriteIni() will do similar things. You don't
          need Buddy to do that, as you could use any xtra that writes to external
          files...