I'm working on a program on where I need to changed the file's permissions.
My problem is that I can't set the file to "Read and Execute".
I can set the file into "Read" with the code below, but how about "Read and Execute"?
File.SetAttributes("C:\testfolder\sample.txt"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.