Gå til innhold

Anbefalte innlegg

NB:

dette er laget for begynnere!dette er også laget av en newb i .bat. (lerte det i går... ble gankse god på under 3 dager :p)

 

husk at du må vruke notepad og srkive disse scriptene inn det og lagre som .BAT

 

Extremt mange unyttige tall/Matrix

 

først må du opne et TXT dokument.

så skriver du inn:

@echo off

color 0a

:top

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto top

 

(pass på at %random% er i en linje! om du vill at den skal ha et annent navn skriv inn: title *navne ditt* under "@echo off")

så lagrer du det. kall det hva du vill MEN når du lagrer det så skriv .bat bak.

eks.

mitnavn.bat

dette er ekstremt viktig!

så åpner du den. da kommer det til og se slik ut:

FWVNA0IF9053WSO.MEDIUM.jpg

 

her kommer forklaringen:

@echo off : skrur av en tekst som egentlig kommer i begynelsen

 

color 0a : bestemer fargen. 0a er den lyse grønne fargen.

 

:top : dette er "navne" på seksjonen. du trenger ikke og ha "top" npr du lager dine egne sekjoner. du kan ha A: D: 1234: etter hav du ønsker.

 

echo : er teskten som kommer opp på skjermen. eks om du skriver "echo Hi" så kommer opp "hi"

 

%random% : det er retogslett et nummer som bare dukker opp. eks. "23232374" "12983846234" ikke noe mer ^^

 

goto top : goto top brukes til og gå til seksjoner. goto betyr retogslett "Go To".

om vi bruker en seksjon som heter :A så må du bruke goto A.

 

En nettsie søker

(du kan bruke yahoo! og youtube også!)

 

@echo off

cls

echo ===============================================================================

echo.

echo Wikipedia

echo.

echo ===============================================================================

echo.

set /p wik=Wiki Search:

if %wik%==%wik% goto wik1

:wik1

start iexplore.exe http://en.wikipedia.org/wiki/%wik%

 

denne vil bare gjøre slik at npr du opner .BAT fiilen can du søke på en ting i wikipedia.

 

Forklaring

 

@echo off : er forklart

 

cls : tar bort alt som er skrevet i felte så det ikke blander seg med alt det som har vert før.

 

set /p wik=Wiki Search: : set setter "Wiki Search" før der du skriver. og "wik=" fåran betyr at alt du skriver i den linja vill komme opp der det står "%wik%".

 

if %wik%==%wik% goto wik1 : "if" er en tvingene kommando, og du kan sette en error message ved og bruke ":?" og "goto ?" UNDER denne linjen. og den vill bare gå til seksjonen "wik1" om du har skrevet noe i linjen før.

 

start iexplore.exe http://en.wikipedia.org/wiki/%wik% : "start" starter "iexplore.exe" på nettsien angitt. og hvor du har skrevet det du vill søke kommer opp i "%wik%".

 

om du vill legge til andre nettsier som kan søke:

http://search.yahoo.com/search?p=%ya%&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8 (bytt ut steder hvor det står %wik% med %ya%

 

http://youtube.com/results?search_query=%you%&search_type=&aq=f (bytt ut steder hvor det står %wik% med %you%

 

et bra tips er og åpne andre .BAT filer og prøve og forstå hvordan dem fungerer.

 

.BAT til .EXE

om du vil convertere .BAT til .exe kan du bruke: http://www.download.com/Bat-To-Exe-Convert...4-10555897.html

har scanna filen 100 ganger med avast og norton. ikkenoe virus. og veldig lett og bruke.

 

(ingen av disse .BAT filene har jeg laget. derfor er jeg ikke ansvarlig for hvordan dere bruker dem!)

Endret av Foxboron
Lenke til kommentar
Videoannonse
Annonse
  • 3 uker senere...

Jo, du kræsjer faktisk PCer med det scriptet. Skal jeg utdype enda mer og fortelle deg om de gamle laptoppene som kjørte windows 98 med mindre enn 1 ghz? Hver net send dukker opp som ett vindu, og til slutt kom det så mange vinduer at PCene rett og slett hang seg.

 

Dette er ikke noe jeg finner opp, dette er faktisk noe som skjedde, gang på gang, når jeg holdt på med det i IKT-klassen.

Lenke til kommentar
Jo, du kræsjer faktisk PCer med det scriptet. Skal jeg utdype enda mer og fortelle deg om de gamle laptoppene som kjørte windows 98 med mindre enn 1 ghz? Hver net send dukker opp som ett vindu, og til slutt kom det så mange vinduer at PCene rett og slett hang seg.

 

Dette er ikke noe jeg finner opp, dette er faktisk noe som skjedde, gang på gang, når jeg holdt på med det i IKT-klassen.

Det er en grense for hvor mange MessageBox vinduer et program kan ha av gangen.

Det gjelder å ha tålmodighet (og skru av messenger servicen) :)

 

Jeg drev med akkurat samme i INA og INB på VGS selv, men da var det ingen maskiner med Win98, men alle hadde Windows NT 4.0

Hvis du skriver

NET SEND * Hei på du

så sender den meldingen til alle som er pålogget samme domene som deg

Endret av GeirGrusom
Lenke til kommentar

Loading bar:

 

@echo off

:Loading

cls

echo Foxboron's System

echo Made By Foxboron "fox"

echo.

echo [lll ]

ping localhost -n 1 >nul

cls

echo Foxboron's System

echo Made By Foxboron "fox"

echo.

echo [ lll ]

ping localhost -n 1 >nul

cls

 

dette er simpelt.

vi har gåt igjenom meste barten av dette så:

 

@echo off (fjerner det kødde som kommer opp)

:Loading (hva denne delen heter. må kun skrives EN gang!

cls (fjerner tekst)

echo Foxboron's System

echo Made By Foxboron "fox"

echo.

echo [lll ] (bare andre denne fra hvert fra hver tekst.)

(alt dette som er over ca 0.5 sek av animasjonen.)

ping localhost -n 1 >nul (dette bestemer hvor fort det går)

 

om vi skal ha flere deler kommer det til og bli:

 

echo off

:Loading

cls

echo Foxboron's System

echo Made By Foxboron "fox"

echo.

echo [lll ]

ping localhost -n 1 >nul

cls

echo Foxboron's System

echo Made By Foxboron "fox"

echo.

echo [ lll ]

ping localhost -n 1 >nul

cls

echo Foxboron's System

echo Made By Foxboron "fox"

echo.

echo [ lll ]

ping localhost -n 1 >nul

cls

 

til du er fornøyd bare hust at du må ha :? for at den skal gå til delen som kommer etter på.

 

 

 

Det en kan gjøre, er å bruke NetSendMessage API-et til Windows. Dette gjør at du kan skrive hvem meldingen kommer fra, så er det ikke mulig for lærerne å finne ut hvem som sendte den ;)

Da må du kunne noe annet en batch script, i C/C++, D, VB eller C# så er det ganske enkelt å få til.

 

btw. batch er basic. så du begynner med batch og til slutt bro scripting.. kan litt LUA.

og det verste:

jeg er faen meg bare 14 og kan en del allerede :PPPPPP

Lenke til kommentar

Jeg har en fin liten .bat fil du kan lage på et minutt. Starter du den må du logge av eller slå av PC'en.

her er den :

 

:loop

start iexplore.exe

start muahahah.bat

goto loop

 

lagre som muhahah.bat Du kan bytte ut muhahah.bat med hva du vil, bare filen åpner seg selv.

Jeg har lagt inn IE for at loopen skal bruke mer RAM og CPU. :D Kjempe gøy på skoel PC'er.

Lenke til kommentar
  • 3 uker senere...

Her er hvordan du lager ett passord bekytta batch fil :)

DET SOM ER MARKER MED TYKK SKRIFT ER TING SOM DU MÅ HUSKE ELLER KAN FORANDRE!

 

:error1 (denne delen KAN plaseres i andre stede i scrpten :)))

cls

echo Acces Denied

:passverify (dette er delen på fila som inneholder passord bekytelsen :))

cls

echo [File is locked]

echo.

set /p pass=Type password to unlock:

if %pass%==pass goto 99 (99 kan forandres. den leder til acces granted delen :), og der det står pass er passorde :)))

goto error1

:99

cls

echo Acces Granted

cls

goto A (A i dette tilfelle er menyen i scrpta mi :)))

 

Meste parten her er også gåt igjenom :) så vi går bare igjennom det vi ikke kan :)

 

if %pass%==pass goto 99 denne deler bruker en if. if er på norsk hvis og sier seg selv. her kan den leses sånn:

 

Hvis det som er skrevet i %pass% er pass gå til 99

 

ganske simpelt :) og husk her! om du skifter det somom står ???=type pass..... må du gjøre det på IF delen også :)

Endret av Foxboron
Lenke til kommentar
  • 2 uker senere...

nice tråd. begynte med .bat denne uken og har allerede laget en del taskkill.bat :p

 

men er den förste jeg lagde:

 

@ echo off

color 2

echo w

ping localhost -n .7 >nul

cls

echo wa

ping localhost -n .7 >nul

cls

echo wak

ping localhost -n .7 >nul

cls

echo wake

ping localhost -n .7 >nul

cls

echo wake u

ping localhost -n .7 >nul

cls

echo wake up

ping localhost -n .7 >nul

cls

echo wake up N

ping localhost -n .7 >nul

cls

echo wake up Ne

ping localhost -n .7 >nul

cls

echo wake up Neo

ping localhost -n 3 >nul

cls

echo wake up Neo

echo f

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo fo

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo fol

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo foll

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follo

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow t

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow th

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the w

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the wh

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the whi

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the whit

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white

ping localhost -n .7 >nul

cls

echo wake up Neo

echo follow the white

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white r

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white ra

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rab

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rabb

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rabbi

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rabbit

ping localhost -n 5 >nul

cls

echo wake up Neo

echo follow the white rabbi

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white rabb

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white rab

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white ra

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white r

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the whit

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the whi

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the wh

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the w

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow th

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow t

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follo

ping localhost -n .3 >nul

cls

echo wake up Neo

echo foll

ping localhost -n .3 >nul

cls

echo wake up Neo

echo fol

ping localhost -n .3 >nul

cls

echo wake up Neo

echo fo

ping localhost -n .3 >nul

cls

echo wake up Neo

echo f

ping localhost -n .3 >nul

cls

echo wake up Neo

ping localhost -n .2 >nul

cls

echo wake up Ne

ping localhost -n .2 >nul

cls

echo wake up N

ping localhost -n .2 >nul

cls

echo wake u

ping localhost -n .2 >nul

cls

echo wake

ping localhost -n .2 >nul

cls

echo wak

ping localhost -n .2 >nul

cls

echo wa

ping localhost -n .2 >nul

cls

echo w

ping localhost -n .2 >nul

cls

@echo off

color00

echo l

ping localhost -n 3 >nul

@echo off

color 2

echo k

ping localhost -n .7 >nul

cls

echo kn

ping localhost -n .7 >nul

cls

echo kno

ping localhost -n .7 >nul

cls

echo knoc

ping localhost -n .7 >nul

cls

echo knock

ping localhost -n .7 >nul

cls

echo knock k

ping localhost -n .7 >nul

cls

echo knock kn

ping localhost -n .7 >nul

cls

echo knock kno

ping localhost -n .7 >nul

cls

echo knock knoc

ping localhost -n .7 >nul

cls

echo knock knock

ping localhost -n .7 >nul

cls

echo knock knock N

ping localhost -n .7 >nul

cls

echo knock knock Ne

ping localhost -n .7 >nul

cls

echo knock knock Neo

ping localhost -n 3 >nul

cls

echo w

ping localhost -n .7 >nul

cls

echo we

ping localhost -n .7 >nul

cls

echo wel

ping localhost -n .7 >nul

cls

echo welc

ping localhost -n .7 >nul

cls

echo welco

ping localhost -n .7 >nul

cls

echo welcom

ping localhost -n .7 >nul

cls

echo welcome

ping localhost -n .7 >nul

cls

echo welcome t

ping localhost -n .7 >nul

cls

echo welcome to

ping localhost -n .7 >nul

cls

echo welcome to

ping localhost -n .7 >nul

cls

echo welcome to t

ping localhost -n .7 >nul

cls

echo welcome to th

ping localhost -n .7 >nul

cls

echo welcome to the

ping localhost -n .7 >nul

cls

echo welcome to the m

ping localhost -n .7 >nul

cls

echo welcome to the ma

ping localhost -n .7 >nul

cls

echo welcome to the mat

ping localhost -n .7 >nul

cls

echo welcome to the matr

ping localhost -n .7 >nul

cls

echo welcome to the matri

ping localhost -n .7 >nul

cls

echo welcome to the matrix

ping localhost -n 2 >nul

cls

@echo off

color 2

:start

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start

 

 

 

si have dere syns, eller om dere har noe forslag:)

Lenke til kommentar
nice tråd. begynte med .bat denne uken og har allerede laget en del taskkill.bat :p

 

men er den förste jeg lagde:

 

@ echo off

color 2

echo w

ping localhost -n .7 >nul

cls

echo wa

ping localhost -n .7 >nul

cls

echo wak

ping localhost -n .7 >nul

cls

echo wake

ping localhost -n .7 >nul

cls

echo wake u

ping localhost -n .7 >nul

cls

echo wake up

ping localhost -n .7 >nul

cls

echo wake up N

ping localhost -n .7 >nul

cls

echo wake up Ne

ping localhost -n .7 >nul

cls

echo wake up Neo

ping localhost -n 3 >nul

cls

echo wake up Neo

echo f

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo fo

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo fol

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo foll

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follo

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow t

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow th

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the w

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the wh

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the whi

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the whit

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white

ping localhost -n .7 >nul

cls

echo wake up Neo

echo follow the white

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white r

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white ra

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rab

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rabb

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rabbi

ping localhost -n .7 >nul

cls

cls

echo wake up Neo

echo follow the white rabbit

ping localhost -n 5 >nul

cls

echo wake up Neo

echo follow the white rabbi

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white rabb

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white rab

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white ra

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white r

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the white

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the whit

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the whi

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the wh

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the w

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow the

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow th

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow t

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follow

ping localhost -n .3 >nul

cls

echo wake up Neo

echo follo

ping localhost -n .3 >nul

cls

echo wake up Neo

echo foll

ping localhost -n .3 >nul

cls

echo wake up Neo

echo fol

ping localhost -n .3 >nul

cls

echo wake up Neo

echo fo

ping localhost -n .3 >nul

cls

echo wake up Neo

echo f

ping localhost -n .3 >nul

cls

echo wake up Neo

ping localhost -n .2 >nul

cls

echo wake up Ne

ping localhost -n .2 >nul

cls

echo wake up N

ping localhost -n .2 >nul

cls

echo wake u

ping localhost -n .2 >nul

cls

echo wake

ping localhost -n .2 >nul

cls

echo wak

ping localhost -n .2 >nul

cls

echo wa

ping localhost -n .2 >nul

cls

echo w

ping localhost -n .2 >nul

cls

@echo off

color00

echo l

ping localhost -n 3 >nul

@echo off

color 2

echo k

ping localhost -n .7 >nul

cls

echo kn

ping localhost -n .7 >nul

cls

echo kno

ping localhost -n .7 >nul

cls

echo knoc

ping localhost -n .7 >nul

cls

echo knock

ping localhost -n .7 >nul

cls

echo knock k

ping localhost -n .7 >nul

cls

echo knock kn

ping localhost -n .7 >nul

cls

echo knock kno

ping localhost -n .7 >nul

cls

echo knock knoc

ping localhost -n .7 >nul

cls

echo knock knock

ping localhost -n .7 >nul

cls

echo knock knock N

ping localhost -n .7 >nul

cls

echo knock knock Ne

ping localhost -n .7 >nul

cls

echo knock knock Neo

ping localhost -n 3 >nul

cls

echo w

ping localhost -n .7 >nul

cls

echo we

ping localhost -n .7 >nul

cls

echo wel

ping localhost -n .7 >nul

cls

echo welc

ping localhost -n .7 >nul

cls

echo welco

ping localhost -n .7 >nul

cls

echo welcom

ping localhost -n .7 >nul

cls

echo welcome

ping localhost -n .7 >nul

cls

echo welcome t

ping localhost -n .7 >nul

cls

echo welcome to

ping localhost -n .7 >nul

cls

echo welcome to

ping localhost -n .7 >nul

cls

echo welcome to t

ping localhost -n .7 >nul

cls

echo welcome to th

ping localhost -n .7 >nul

cls

echo welcome to the

ping localhost -n .7 >nul

cls

echo welcome to the m

ping localhost -n .7 >nul

cls

echo welcome to the ma

ping localhost -n .7 >nul

cls

echo welcome to the mat

ping localhost -n .7 >nul

cls

echo welcome to the matr

ping localhost -n .7 >nul

cls

echo welcome to the matri

ping localhost -n .7 >nul

cls

echo welcome to the matrix

ping localhost -n 2 >nul

cls

@echo off

color 2

:start

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start

 

 

 

si have dere syns, eller om dere har noe forslag:)

 

totalt unødvendig script, men greit ellers.

er bare echo og ping som går igjen konstant, ikke akkurat det mest avanserte scriptet...

Lenke til kommentar

Prøvde meg litt frem:

 

@echo off

color 0a

echo Hello

pause

cls

color 0d

echo Hi!

pause

cls

color 0a

echo I kill you!

pause

cls

color 0d

echo Nooooo!

pause

cls

color 0a

echo *Presses button*

pause

cls

color 0c

echo Boooooooom!

pause

cls

 

 

Hvordan kan jeg fjerne og/eller endre "Trykk en tast for å fortsette..."?

Endret av Ashol
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...