I have this embarrassing .bat:
pushd \\computer00081\d
rmdir "z:\dig_dok" /s /q
mkdir . "dig_doc"
cd dig_doc
xcopy "C:\Users\myUser\Desktop\dig_doc" .\ /E
C:
net use z: /delete /y
The computer names on my network share the same name pattern: computer00081, computer00082, computer00083... and so on. They have the same file/folder structure in the "d" share. How can I create a loop for the computer names from let's say computer00001 to computer00200 and do the same for all of them? Maybe do it for a computers.txt list? Or loop them from the hosts file. Thanks in advance! You rock!