setwdOS: Set Working Directory Dependent on Current OS
Description
Similar to setwd(), this function sets the working directory to a
user-defined path. Rather than supplying a single 'dir' argument, however,
both an OS-sensitive path to the desired hard disk partition and, optionally,
an extension of this file path are required.