ioliver Posted February 10, 2005 Posted February 10, 2005 $folder = "C:\Windows" RunWait(@comspec & "/c " & "cacls " & $folder & " > c:\cacls.txt")In my code above, AU3 should run CACLS.exe from the command line and redirect the output to c:\cacls.txt. It works if I run 'cacls c:\windows > c:\cacls.txt' from an command line. But when I run it from AU3 I get the following error message:RunWait(@comspec & "/c " & "cacls " & $folder & " > c:\cacls.txt") The system cannot find the path specified.Thanks in advance,Ian "Blessed be the name of the Lord" - Job 1:21Check out Search IMF
ioliver Posted February 10, 2005 Author Posted February 10, 2005 Way to go Larry! Thanks for the help, problem solved. Ian "Blessed be the name of the Lord" - Job 1:21Check out Search IMF
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now