|
本帖最后由 aux649350702 于 2010-11-8 23:10 编辑
FileInstall("setacl.exe",@TempDir & "\setacl.exe","1")
$setaclpath=@TempDir & "\setacl.exe"
RunWait(@ComSpec & " /c "&$setaclpath& "-on "C:\Program Files\lmis6.0" -ot file -actn ace -ace "n:users;p:full;s:n;i:so,sc;m:grant;w:dacl" -silent ", @TempDir, @SW_HIDE)
Run("RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters")
FileDelete(@TempDir&"\setacl.exe")
"-on "C:\Program Files\lmis6.0" -ot file -actn ace -ace "n:users;p:full;s:n;i:so,sc;m:grant;w:dacl" -silent ",这段代码中要嵌套引用双引号,请高手指教 |
|