DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us