path of folder in max 6

I try to test a path of folder inside max patch. My problem is to identify mac os or windows system. So I search to test if system is mac , or system is pc between object tosymbol @separator / and sprintf /%s/ %s if macintosh and sprintf %s/ %s if Windows. Just a see patcher

— Pasted Max Patch, click to expand. —

Copy all of the following text. Then, in Max, select New From Clipboard.