How can I check if I have read or write access to a directory?
Mostrar comentarios más antiguos
When I do
>> fileattrib('\\path\to\my\folder')
"UserRead" and "UserWrite" is "1" even though Windows Explorer shows that I do not have read or write access in the folder properties. Furthermore, when I try to read or write in the directory, it fails. Why does "fileattrib" indicate that I have read and write access even though I do not?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Search Path en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!