Register for your free account! | Forgot your password?

Go Back   elitepvpers > Off-Topics > Tutorials
You last visited: Today at 06:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



BATCH TRICKS

Discussion on BATCH TRICKS within the Tutorials forum part of the Off-Topics category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 36
Received Thanks: 2
BATCH TRICKS

In diesem Thread will ich mal ein paar Tricks mit BATch

Fangen wir mal mit dem erstellen einer Batch Datei an.

Erstellt eine neue Batchdatei (.bat) indem ihr die endung von z.B. einer Textdatei ändert und schreibt

Code:
@echo off
(um die Batchdatei zu bearbeiten macht einen rechtsklick und geht auf "Bearbeiten")

das ist ein Befehl, der euch die Arbeit deutlich erleichtert. An sonsten müstet ihr nämlich immer vor jeden Schritt
Code:
C:\Dokumente und einstellungen\*username*
schreiben.

Jetzt kann es auch schon losgehen!

Beginnen wir mit einer Nachricht.

Code:
@echo off 
msg * "Hallo Welt!"
Und weiter gehts mit meinem Lieblingsbefehl. Dem shutdown.

Code:
shutdown -s = Computer herunterfahren
der Befehl kann mit 
>  -t für die Zeit in Sekunden (z.B. -t 60 für 1 min.)
>  -c für einen Kommental (z.B. -c "Runtime Error")
>  -a für Shutdown beenden (wenn ihr es an eurem PC testet)
Der nächste Befehl, den ich euch zeige ist der Befehl "start" und er bewirkt genau das, was ihr jetzt denkt. Er startet ein programm etc.
Er kann auch verwendet werden um einen befehl bis zur Löschung der datei unendlich auszuführen.

Code:
@echo off
start NeuesTextdokument.txt
start *Name der Batchdatei*
Nun wird das neue Textdokument oder was ihr auch immer unendlich starten wollt in so vielen Tasks geöffent bis der Computer entweder voll ausgelastet ist oder keine neuen Tasks mehr geöffnet werden können (bei mir 205 Tasks).

Ihr könnt das harmlos testen indem ihr euch eine Batchdatei namens start.bat erstellt und eingebt:
Code:
@echo off
start start.bat
pause
jetzt ausführen und ihr habt 205 mal den Task C:\Dokumente und Einstellungen\cmd.exe start.bat oder ähnlich geöffnet.

~Fortsetzung flogt in form von Edits~

zum konvertieren zu exe Dateien:

[PN wenns Probleme mit dem DL gibt]


xKRAVENx is offline  
Thanks
1 User
Old 04/10/2010, 20:25   #2
 
.G4Me0v3r's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 136
Received Thanks: 11
Das kann man doch auch in der msconfig eingeben
.G4Me0v3r is offline  
Old 04/10/2010, 20:27   #3
 
elite*gold: 0
Join Date: Mar 2010
Posts: 36
Received Thanks: 2
klaar oder einfach im Taskmanager nen neuen Task machen und befehl eingeben der Vorteil ist nur, das man das ganze noch zu ner exe convertieren kann.
xKRAVENx is offline  
Old 04/10/2010, 22:35   #4
 
elite*gold: LOCKED
Join Date: Apr 2009
Posts: 1,068
Received Thanks: 356
->
Eindeutig besser!

#report Thread gibts schon ->
Max_-_Speed is offline  
Old 04/11/2010, 13:17   #5
 
elite*gold: 0
Join Date: Mar 2010
Posts: 36
Received Thanks: 2
Quote:
Originally Posted by XXxxYakuzaxxXX View Post
->
Eindeutig besser!

#report Thread gibts schon ->
ich will kein batch beibringen nur ein paar witzige tricks zeigen
xKRAVENx is offline  
Old 04/11/2010, 13:21   #6
 
elite*gold: 0
Join Date: Apr 2010
Posts: 13
Received Thanks: 0
Gutes TuT
.4C1D is offline  
Old 04/11/2010, 13:38   #7
 
-Patrick.'s Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 106
Received Thanks: 10
Bekommst ein Thx aber kannte ich schon .
-Patrick. is offline  
Old 04/11/2010, 18:27   #8
 
elite*gold: 0
Join Date: Mar 2010
Posts: 36
Received Thanks: 2
Morgen kommt warscheinlich ein großer edit also bleibt drann

MFG
KRAVEN
xKRAVENx is offline  
Closed Thread


Similar Threads Similar Threads
Gacha Tips/Tricks [Sealed bead tricks]
11/25/2010 - Grand Chase - 25 Replies
is there anyway to complete an epic sealed bead set with just using a less amount of scrolls? if there is tell me the trick or tip to do it :) please help, if you want to keep it a secret just pm it to me and I promise you i wont spread it :D
wdf batch extractor
05/21/2010 - CO2 Weapon, Armor, Effects & Interface edits - 2 Replies
When I run the wdf batcher a shit load of error messages come up saying "wdfextractor.exe has stopped working" But the extractor is still running and extacting files from 3dtexture :S Im running windows 7 64 bit, idk if that has anything to do with it. Will it still work if I ignore the error messages and let it extract? Sorry Huseby, but you closed my previous thread lol
last batch of key.....
03/11/2010 - Heroes of Newerth - 1 Replies
nvn1b9uh91ts2ek lfm68cfd7aeb7fp gaofzcw1rp3elrz i8a1ldecmsh5w4c 38sj88r30nz5mic gic78cd84ajbz4v gfgrl2pas1jkhin j6dn1aqft5ze2y6 7br9u7pvistm8hp ezy6xr7lavkkl4v
Batch Hatcher
07/23/2009 - EO PServer Hosting - 15 Replies
ooh lol ... here i am again :pimp: does some1 know were the batch hatch file's are?? (client and database) mostly the client :P Thank you



All times are GMT +1. The time now is 06:06.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.