To expand variables, macros and environment variables present in the path e.g. H=\\HOMESHARES\@USERID would expand to the users name.

Not useful in this case as none of the paths need expanding, but probably used by the original coder that the script was taken from.