This method returns an array of the directories formatted with each directory quoted and with the directory's "\ or /" escaped.