This content has been marked as final. Show 4 replies
if you have a file on your server call foo.cfm - try accessing it using a different case, eg FOO.cfm - if it loads you're on windows, if it doesn't you're on a nix platform.
> and how is that gonna be 'easier' using cfml than #server.os.name#?
Yeah, that one had me scratching my head too.
If one was to be wanting to check via the file system, then checking
java.io.File's "separator" property would probably be the way to do it,
rather than checking file-name-casing, but the server variable route is the