|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Calling Caspol from batch fileHi.
I wrote a single batch file that runs Caspol to configure my users workstations. The first line removes a group from the security policy, but if that group does not exists, I receive an error and a list with the syntax to be used with Caspol. That's the line: @%WINDIR%\Microsoft.NET\Framework\v1.1.4322\CasPol.exe -q -rg NEWGROUP How can I turn off the error messages or how can I detect if a group exists, before remove it? Thanks, Robert Scheer |
|||||||||||||||||||||||