hexagon logo

Adams command to find out operational system/platform

Hi,
 
I'm having a cmd-file that I want to be OS independent. Therefore I need to find out on which platform I'm working on and I couldn't find anything in the documentation or here. Probably I have searched in the wrong documentation or in the wrong place. But I hope that someone else here can help me put with this.
 
Rough code that I want to have:
if condition = (eval(platform == 'Win'))
set var set = fdir &
string = 'C://....'
elseif condtion = (eval(platform == 'Linux'))
set var set = fdir &
string = '/....'
end
 
 
Thanks in advance!