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
  • Hello antihippy,

    both questions have been discussed more than a few times in this forum.

    Short answers:

    % is a valid character for a name and not interpreted in any way. Furthermore, although it's not immediately obvious, environment variables are per user and thus not unambiguous. 

    As for exclusions - they are not sine qua non (the MS KB article states that [the recommendations] may help an administrator determine the cause of potential instability), in most cases you won't encounter issues even when none are set.

    Christian   

    :53973
Reply
  • Hello antihippy,

    both questions have been discussed more than a few times in this forum.

    Short answers:

    % is a valid character for a name and not interpreted in any way. Furthermore, although it's not immediately obvious, environment variables are per user and thus not unambiguous. 

    As for exclusions - they are not sine qua non (the MS KB article states that [the recommendations] may help an administrator determine the cause of potential instability), in most cases you won't encounter issues even when none are set.

    Christian   

    :53973
Children
No Data