Search the Community
Showing results for tags 'special folder'.
-
Is there a plugin or a way to restrict the access to the local folders to one specified folder? My bot uses the "include" command which allows someone to "define" some functions and I want to ensure that the define cannot be used to access local files other than one safe one I specify. My code is compiled so is there some code I can put in my compiled version that will achieve that in the external "define"? Does anyone want to design such a plugin? It is a security feature that some of us may want, to ensure that for instance "shell" and "special folder "commands are disabled in compiled
-
Hi I need to add a line to my bot which deletes a file from AppData/Roaming/.../file.txt Since every person has a different path to AppData folder how do you go about this? How do you find out what the current users username is e.g: C:\\Users\\ THIS COULD BE ANYTHING \\AppData\\...? I tried without success: delete file("{$special folder("AppData")}\\Roaming\\...
- 3 replies
-
- special folder
- delete file
-
(and 2 more)
Tagged with: