|
Answer» Hello, i CREATED a BATCH file where in to copy a certain file/s from a network drive to "\documents and settings\user account\desktop
where in the user account is the current user logged into the computer.
what is the command in order for the batch file to recognize the current logged user..
please help.
thanks in ADVANCE You may find something of use here>http://www.robvanderwoude.com/index.htmlUse the %username% variable. If you're wondering where that CAME from just enter set /? at the command line.
Hope this helps.Hi
Thanks for the reply. (%username% ) worked. And thanks for the link. very informative
Glad we COULD be of assistance.
|