You can change any details in the IPS exception, as needed. If you don't want the path, you can use a wildcard, or just remove it.
Can be changed to:
Be aware of how IPS exception criteria is AND/OR'd together though.
KB70652 - Host Intrusion Prevention 7.0 IPS exception criteria (applied to HIPS 8.0 too)