I am using a function that determines the amount of free disk space available on any drive. My problem is that I first need to determine whether or not I am in a windows environment or a unix environment. From here, I will be able to call the particular fuctions that determine the disk space.

Any suggestions.