So i\'m trying to move a .vbs file with .movefile line and i want to give the .vbs to me friends but in order it to work I would have to know what their username is. what wo
Copy and paste this code:
Set wshShell = CreateObject( "WScript.Shell" ) User = wshShell.ExpandEnvironmentStrings( "%USERNAME%" ) WScript.Echo "User: " & strUserName