QUESTION:


The other day I was looking to make a Custom Inventory Rule (CIR) for something on a Mac OSX device, and I wasn't having the best luck. 
One question I had, was if the path or filename had a space in it, do I need double quotes? Do I need to escape the space?

ANSWER:

Nothing special is needed. 

EXAMPLE 1:
DirectoryExists(/Applications/Utilities/Disk Utility.app)
EXAMPLE 2:
FileExists(/Library/Application Support/Dell/KACE/data/version.txt)


Notice that there is no backslash (\) between 'Application Support' and not double quotes ("") around the path. 
Just copy/paste the path as is and you're all set. 


I couldn't find this info written down anywhere so I thought I would share. 

Cheers!