Hi, I'm using the "whoami" shell function to return the current user name on the Mac. Does anyone know the equivalent code for Windows? Thanks a lot All the Best Dave