Highlighted
egiblock
2 Bronze

exclusion of windows variables

Jump to solution

hello,

i want to exclude files from the clients using windows variables.   can i use windows variables in the exclusion list like %userprofile% ?   here's my current exclusion list.

  <excludelist>

    <path name="C:/$Recycle.Bin/" />

    <path name="C:/RECYCLER/" />

    <path name="*.mp3" />

    <path name="*.wav" />

    <path name="*.avi" />

    <path name="*.mpg" />

    <path name="*.mpeg" />

    <path name="*.mp4" />

    <path name="C:/pagefile.sys" />

    <path name="*.m4a" />

    <path name="*.rm" />

    <path name="*.tmp" />

    <path name="%userprofile%\appdata\local\emc" />

  </excludelist>

0 Kudos
1 Solution

Accepted Solutions
ionthegeek
4 Beryllium

Re: exclusion of windows variables

Jump to solution

I don't believe you can use Windows variables in exclude patterns at the moment. This would make a good request for enhancement. I would recommend submitting an RFE through PowerLink.

In the meantime, the following exclude pattern should do what you need:

**/AppData/Local/EMC

0 Kudos
3 Replies
ionthegeek
4 Beryllium

Re: exclusion of windows variables

Jump to solution

I don't believe you can use Windows variables in exclude patterns at the moment. This would make a good request for enhancement. I would recommend submitting an RFE through PowerLink.

In the meantime, the following exclude pattern should do what you need:

**/AppData/Local/EMC

0 Kudos
Bebo2k
3 Zinc

Re: exclusion of windows variables

Jump to solution

You cannot use the windows variables in the exclusion list, You can use that exclusion as

"C:\Documents and Settings\*\appdata\local\emc"   For Windows XP

"C:\Users\*\appdata\local\emc"  For Windows Vista / Windows 7

Ahmed Bahaa

egiblock
2 Bronze

Re: exclusion of windows variables

Jump to solution

i ended up using:

**/EMC/mailbox

to exclude the directory on the client machines.   tested and works properly.