Work with created list.
Posted: Fri Dec 16, 2005 4:40 pm
When working with mutiple servers this is a script that will become your best friend.
Thanks to Carl Stalhood for showing me this one.
Thanks to Carl Stalhood for showing me this one.
Code: Select all
@echo off
rem script for mutilple uses
cls
net view | find /I "\\" > %temp%\servers.txt
for /f "tokens=1" %%x in (%temp%\servers.txt) do call :srch %%x
rem del %temp%\servers.txt
goto end
:srch
echo Fixing %1. Please wait...
REM Fix something here.
goto :EOF
:end
pause