w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
give temporary access to folder to copy file from application

As far as I know you cannot construct a script to give itself permission. This would be the same as giving a user the permissions at user level because they could just write a script to do what they want to do and give the script permissions.

What I would recommend is getting a service account or an admin account to run the script through a scheduler if it is a repeated task.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.