Retrieves the path of special Windows' folders and parse strings with variables in the format $(VARIABLE).