我正在尝试向所有人授予文件夹调用 Test 的权限。如果我这样做,它会起作用
objShell.ShellExecute "cmd.exe","/k icacls c:\Test /grant everyone:(OI)(CI)M ", "",
但如果我这样做,它不会
Set objShell = CreateObject("Shell.Application")
Dim var
var = "C:\Test"
objShell.ShellExecute "cmd.exe", "/k icacls" & var & "/grant everyone:(OI)(CI)M ", "", "runas", 1
所以我的问题是我怎样才能让它工作请帮忙