Inspect paths in commands in case of special characters