I have a command which gives only read permissions to the user on D drive .. When I run the command from cmd it runs just fine but when I try running it by integrating with VBScript it just doesn't work... I tried everything I could it just doesn't work.... any help please!!!!!
this is the command I want to run via vbscript
echo y|cacls.exe D:\ /G user:R
when I run the script it shows "file not found " error.
Thanks in advance!!