|
|
|
start date: Thu, 16 Aug 2007 08:29:57 -0700,
posted on: microsoft.public.dotnet.framework
back
| Thread Index |
|
1
eddieb7
|
|
2
Cowboy \(Gregory A. Beamer\) oSpamM
|
|
3
eddieb7
|
Running Caspol from a batch file
Can anybody tell me if there is a paramater I can use with CASPOL from
within a batch file to prevent
the dos window being displayed.
I am trying to remove a group using
caspol -machine -quiet -pp off -rg TempGroup
and then replace it using
caspol -machine -quiet -addgroup All_Code -strong -
file DummyApp.exe -noname -noversion FullTrust -name TempGroup -
description "Code group granting full trust to applications compiled
with LtempGroup.snk strong name signature"
But whenever I run the Batch file it throws up a Dos Window.
Everything runs ok, and it does what I want,
but I don't want to see the dos window.
Any help would be much appreciated.
Date:Thu, 16 Aug 2007 08:29:57 -0700
Author:
|
Re: Running Caspol from a batch file
Try flipping the order and putting -quiet first. Not sure it will work, but
that is the way the documentation has it.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box! |
*************************************************
"eddieb7" wrote in message
news:1187278197.774352.54080@r34g2000hsd.googlegroups.com...
> Can anybody tell me if there is a paramater I can use with CASPOL from
> within a batch file to prevent
> the dos window being displayed.
>
> I am trying to remove a group using
> caspol -machine -quiet -pp off -rg TempGroup
>
> and then replace it using
> caspol -machine -quiet -addgroup All_Code -strong -
> file DummyApp.exe -noname -noversion FullTrust -name TempGroup -
> description "Code group granting full trust to applications compiled
> with LtempGroup.snk strong name signature"
>
> But whenever I run the Batch file it throws up a Dos Window.
> Everything runs ok, and it does what I want,
> but I don't want to see the dos window.
>
> Any help would be much appreciated.
>
Date:Thu, 16 Aug 2007 10:48:21 -0500
Author:
|
Re: Running Caspol from a batch file
Thanks, But that didn't work.
Date:Fri, 17 Aug 2007 01:45:05 -0700
Author:
|
|
|