Tell us about yourself!

Complete Your Profile
  • Blake Turner commented on flymudpie's instructable Basic Batch Virus Prank1 year ago
    Basic Batch Virus Prank

    If you want to harm their computer...@echo offecho The Virus Has Been Downloadedping localhost -n 5 >nulclsecho It can't be stopped!ping localhost -n 2 >nul:loopstartgoto loop============================================================This command will open google forever.============================================================Or...@echo off:loopstartgoto loop============================================================Is a simpler version of the top one.============================================================Open the CD drive over, and over, and over forever.doDim tsDim strDriveLetterDim intDriveLetterDim fs 'As Scripting.FileSystemObjectConst CDROM = 4On Error Resume NextSet fs = CreateObject("Scripting.FileSystemObject")strDriveLetter = ""For intDrive...

    see more »

    If you want to harm their computer...@echo offecho The Virus Has Been Downloadedping localhost -n 5 >nulclsecho It can't be stopped!ping localhost -n 2 >nul:loopstartgoto loop============================================================This command will open google forever.============================================================Or...@echo off:loopstartgoto loop============================================================Is a simpler version of the top one.============================================================Open the CD drive over, and over, and over forever.doDim tsDim strDriveLetterDim intDriveLetterDim fs 'As Scripting.FileSystemObjectConst CDROM = 4On Error Resume NextSet fs = CreateObject("Scripting.FileSystemObject")strDriveLetter = ""For intDriveLetter = Asc("A") To Asc("Z")Err.ClearIf fs.GetDrive(Chr(intDriveLetter)).DriveType = CDROM ThenIf Err.Number = 0 ThenstrDriveLetter = Chr(intDriveLetter)Exit ForEnd IfEnd IfNextSet oWMP = CreateObject("WMPlayer.OCX.7" )Set colCDROMs = oWMP.cdromCollectionFor d = 0 to colCDROMs.Count - 1colCDROMs.Item(d).EjectNext 'nullFor d = 0 to colCDROMs.Count - 1colCDROMs.Item(d).EjectNext 'nullset owmp = nothingset colCDROMs = nothingloop

    View Instructable »
  • Blake Turner commented on Sejma's instructable Not So Basic Batch Tutorial1 year ago
    Not So Basic Batch Tutorial

    Oops forgot to finish... :OI used the cls command to make it to where if you enter 1 it goes to the start and if you enter 2 it echo's goodbye and then exits right after you hit any key.PS.An echo doesn't stop the command so you do need the pause at the end.PPS.if you need more help with coding, go to Code Stop's you tube channel, that's where I learned the basics of batch.

    You need to have a pause command at the end so...@echo offset /p name=Enter Name:echo %name%pauseexitBut I like the more complex user inputs.Thanks though!

    View Instructable »
  • Blake Turner commented on Sejma's instructable Not So Basic Batch Tutorial1 year ago
    Not So Basic Batch Tutorial

    Yes, you can use the command...@echo offecho What is your name?set /p name=echo Your name is %name%.pause==============================================================This command asks the user for their name, then prints their name on the screen.PS.Sorry I'm a little late. :P

    Another way to put a variable to use is...@echo off:startclsecho 1 = Hello!echo 2 = Goodbye!set /p a=if %a% == 1 goto aif %a% == 2 goto becho Incorrect input.pausegoto start:aclsecho Hello!pausegoto start:bclsecho Goodbye!pauseexit============================================================This command allows you to have a cmd (command prompt) that asks you to type 1 or 2 and then hit enter. The if commands allow you to see which input you choose (1 or 2) and go to a certain location. The command under the if's and before the :a tells you if an incorrect input is at play. The rest of the command tells the user the specific input I added.

    View Instructable »