You need to escape them, like in every other instance where strings may contain control characters.<p>That&#x27;d be my guess, at least, but, i guess, single quotes aren&#x27;t valid characters for zDir.