This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Environment Variables?

Hi All,

This feels like a dumb question.

Can you use windows environment variables such as %windir% or not? I see that "%" is not listed as a wildcard character of any description so:

As a file exclusion:

Is it just treated as another character? Does this mean that %windir% gets literally translated as %windir% rather than C:\Windows.

Sophos recommends looking at your OS supplier documentation (in this case it's MS) for AV exclusions. Looking at MS document there's quite a lot to look at. See here: https://support2.microsoft.com/kb/822158?wa=wsignin1.0 and also http://www.networkdefend.com/avexclusions.txt

:53971


This thread was automatically locked due to age.
Parents
  • Interesting. I guessed it would be you who would jump in on  this one.  ;)

    I am told by the person who I work with that SOPHOS in this environment has had issues when left alone in its default state - problems I've fixed with the SEC aside.

    Yes I know that it has been discussed before but it's never very clear what the outcome actually is. You say that "%" is just treated as part of the name. That's chiming with what I've been reading. So for each file I want to exclude I will have to specify the literal paths. I accept that now. Sophos could help everyone out by explicitly stating a best practise in a windows environment. Or could someone just stick something about windows variables somewhere easy to find in the knowledbase or put a sticky up in the forum?

    Now you might say "that sounds a little sniffy" but then you're not the guy who's just sat there and told someone else a variation of your comment and had to deal with their [quite loud] reply.

    :53975
Reply
  • Interesting. I guessed it would be you who would jump in on  this one.  ;)

    I am told by the person who I work with that SOPHOS in this environment has had issues when left alone in its default state - problems I've fixed with the SEC aside.

    Yes I know that it has been discussed before but it's never very clear what the outcome actually is. You say that "%" is just treated as part of the name. That's chiming with what I've been reading. So for each file I want to exclude I will have to specify the literal paths. I accept that now. Sophos could help everyone out by explicitly stating a best practise in a windows environment. Or could someone just stick something about windows variables somewhere easy to find in the knowledbase or put a sticky up in the forum?

    Now you might say "that sounds a little sniffy" but then you're not the guy who's just sat there and told someone else a variation of your comment and had to deal with their [quite loud] reply.

    :53975
Children
No Data