Aku akan buat coding batch script dalam linux plak.. boleh aku buat auto test download speed sekali nanti.
Anyway, kita kena ada acc list yang formatnya macam ni untuk batch script ni boleh baca list ni.
so script tu rupa dia cam ni
::==pendek jer an.... yang choice tu sebenarnya supaya ada timewait ja
@echo off
setLocal EnableDelayedExpansion
for /f "tokens=* delims= " %%a in (pass.txt) do (
echo connecting for %%a
rasdial s4 %%a
CHOICE /T 30 /C ync /CS /D y
)
::==
so bila run script tu dekat CMD nampak la camni... (p/s: kalau nak run script tu just taip nama file yang kita save coding tu.. cth kita save as dial.bat dekat cmd just taip dial & enter)
pokkok aja aku etep guane...
ReplyDeleteaku reti huk scan ip so2 yahh
Thanks so much for the comment. I try to put together my learning and experiece in terms of blog and feel great if this helps others.
ReplyDeleteiso 9001 training courses online