Try to use caspol but this command doesn't work

T

Tony Johansson

Hi!

I try to set a security policy so the runtime interpret the
assembly to being run in code group Internet_zone but this command has some
syntax error that I can't see what it is ?

caspol -ag 1 -url file:///C:/test/* Internet -n InternetTest -exclusive on

//Tony
 
A

Alberto Poblacion

Tony Johansson said:
I try to set a security policy so the runtime interpret the
assembly to being run in code group Internet_zone but this command has
some
syntax error that I can't see what it is ?

caspol -ag 1 -url file:///C:/test/* Internet -n InternetTest -exclusive on

It looks correct to me. Verify a couple of things:
- Make sure that c:\test exists.
- Make sure that the hyphens are real hyphens (ASCII 0x2d), and not some
Unicode typographic character that you got by copying and pasting the line
from a text document.
 
T

Tony Johansson

Alberto Poblacion said:
It looks correct to me. Verify a couple of things:
- Make sure that c:\test exists.
- Make sure that the hyphens are real hyphens (ASCII 0x2d), and not some
Unicode typographic character that you got by copying and pasting the line
from a text document.

It works now!!

Thanks Alberto !

//Tony
 

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