- Joined
- Jul 4, 2008
- Messages
- 1,106
Hello! Here you can find my latest Batch files.
If you like them, feel free to give credit.
(I don't need the credit, if you don't want to give me credit)
Q: What is Batch?
- A: Batch is an Windows Command Line thing..
Q: Is Batch easy to learn?
- A: Yes, You can actually learn Batch coding in less than 1 hour!
Q: Where can I find help?
- A: Look on this Topic, There is Batch Help button for batch help, made by me so it isn't all.
If you want a batch file, tell me.
And by the ways, News are coming!
If you like them, feel free to give credit.
(I don't need the credit, if you don't want to give me credit)
Q: What is Batch?
- A: Batch is an Windows Command Line thing..
Q: Is Batch easy to learn?
- A: Yes, You can actually learn Batch coding in less than 1 hour!
Q: Where can I find help?
- A: Look on this Topic, There is Batch Help button for batch help, made by me so it isn't all.
If you want a batch file, tell me.
And by the ways, News are coming!
Code:
[table]@echo off -Idk... I just use it, Well, It deleted the command location text before the text.[/table]
[table]shutdown
-l (Logs out of the computer user)
-s (Shutdowns your computer)
-r (Restarts your computer)[/table]
[table]echo -Types a message on the batch file.[/table]
[table]set /p val= Type something here: (Makes a text line where you can write something)
set h1= Welcome! (sets h1 to text: Welcome!)[/table]
[table]if
exist (checks if a file exists)
%val%= %val2% (For a question use examble, %val% is your answer, %val2% is the real answer)[/table]
More will be coming!