1: 2: 3: 4: 5: 6: 7:
@echo off For /F %%a in (C:\Computers.txt) Do call :process %%a goto :eof :process set pc=%1 schtasks /create /s %pc% /RU SYSTEM /SC once /ST 15:00:00 /SD 03/07/2008 /TN SolRmv /TR "C:\PCTech_tools\SolomonRmv.exe"