Why would you care what the home folder name is called? What is the gain for the complication? Users get there by a drive mapping anyway.
Look into defining and using the %HOMEPATH% and %HOMESHARE% variables
Guapo I believe you want 'of' not' if'
Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's