G
Guest
Guest
Hello,
I need to copy the contents of a .txt file on multiple remote computers and append with the machine name it is copied from. I wrote this to copy the file (>>logfile.txt 2>%1 echo type \\computer12345 \c$\bgi\info.txt) which works fine, but I am unable to snag machine name as well. Any help would be greatly appreciated.
I need to copy the contents of a .txt file on multiple remote computers and append with the machine name it is copied from. I wrote this to copy the file (>>logfile.txt 2>%1 echo type \\computer12345 \c$\bgi\info.txt) which works fine, but I am unable to snag machine name as well. Any help would be greatly appreciated.