Running Caspol from a batch file

E

eddieb7

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.
 
C

Cowboy \(Gregory A. Beamer\)

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! |
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top