cacls help
From: Daniel (Daniel_Reagan@hotmail.com)
Date: 07/31/02
- Next message: Mr. Schnibitz: "Re: cacls help"
- Previous message: Kristofer Gafvert: "Check security, how?"
- Next in thread: Mr. Schnibitz: "Re: cacls help"
- Reply: Mr. Schnibitz: "Re: cacls help"
- Reply: Matt: "Re: cacls help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Daniel" <Daniel_Reagan@hotmail.com> Date: Wed, 31 Jul 2002 06:55:07 -0700
I am writing a script to create user accounts in active
directory in vb6. i am trying to use cacls.exe, or
xcacls.exe to set permissions on each users home
directory. i want cacls or xcacls to export its results
to a text file, so that i can make a log of users whose
permissions did not get set. the output to a text file
part works great from the command line, but when i try to
call it from vb, i get nothing, does not even make the
text file. does anyone know anything about this?? here
are the lines of code that i use to call cacls.exe:
Call Shell("cacls " & usr.HomeDirectory & " /t /e /c /g "&
usr.UserName & ":C")
Call Shell("cacls " & usr.HomeDirectory & " >C:\log.txt")
of course they aren't spaced on diffrent lines like that
any help would be appreciated!!
- Next message: Mr. Schnibitz: "Re: cacls help"
- Previous message: Kristofer Gafvert: "Check security, how?"
- Next in thread: Mr. Schnibitz: "Re: cacls help"
- Reply: Mr. Schnibitz: "Re: cacls help"
- Reply: Matt: "Re: cacls help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|