Hello Expert,
I need batch file that will call the server name in the listed text file and run he command on the same.
eg.
Script.bat
xcopy c:\Tool\DiskCleanp.bat \\%ServerName%\C$\Tool\ /Z /Y >> C:\result.txt
Psexce \\%ServerName% c:\tool\DiskCleanp.bat C:\result.txt
Server.txt
Server01
Server02
Server03
Server04
Or Is there is any tool that will created a automatic batch file as per the requirement.
Thanks in advance ...Accept as Solution