i write a simple batch that run list.txt and read server list from that file
the results include an error "the system cannot find file specified
why?
here is the code:
@echo off
cls
For /F "tokens=*" %%a in (list.txt) Do (
echo %%a
schtasks /query /s %%a /fo list /tn "Reboot"
echo.
)
echo operation completed! press enter to close this window
pause > nul
exit
bug in my batch
Moderator: DosItHelp
bug in my batch
- Attachments
-
- 112.jpg (92.96 KiB) Viewed 43092 times