Is there a variable I can use that will be the machine name that is running the script? I want to run this command:
REMCOPY4=c:\%COMPUTERNAME%.zip, C:\Output\%COMPUTERNAME%.zip, FROMREMOTE
The above command results in a file on the local machine named %COMPUTERNAME%.zip. I would like it to be named after the server that is currently running the script. Is something like that possible?
One option would be to use
%Computer - Device Name%
Thanks ZMAN that worked exactly how I wanted it to.
Thanks also for the pointer to the tips and tricks section.
Retrieving data ...