From the command line, how do I enter the username of a user logged on to the system?
Example: c:\Robocopy c:\Documents and Settings\ & Username & \Documents /MIR
What do I plug in for user name?
I know the location of the username is HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Logon User Name
Example: c:\Robocopy c:\Documents and Settings\ & Username & \Documents /MIR
What do I plug in for user name?
I know the location of the username is HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Logon User Name