use the global windows var like %USERPROFILE%\ the full path of the current windows user folder its very useful u can acces desktop or my documents exemple: %USERPROFILE%\Desktop to get the desktop path but this work only to give it to a function ho interact with path like sendfile if u want the path in a var in your script see the solution below