I like Jeff's solution. But there is a dedicated utility function, too, for this purpose. Here is an example:
Convert File Path( "$HOME", Windows );
It can do more than change the format from POSIX to Windows. See Help > Scripting Index > Functions > POSIX.