type this(with any enter or space in it):
@echo off
echo happy birthday
pause
end
you can edit the happy birthday as you like it but keep the "echo"
what happens if you run this: a CMD window will open and says:
happy birthday
press any key to continue...
if you press a key the file closes
if you typed this in notepad, save it as a .bat file (suppose you knew this)
to make it more attractive you could change the colors of the screen and the letters like this:
color 02
@echo off
echo happy birthday
pause
end
the first number (or letter) behind color is the background color, the second is the color of the letters this gives you a black background and green letters. to check all color type "color help" in CMD. it will give you the letters and numbers for the different colors
You can only do it with regetit.exe, and plus if you are asking to change it with a batch file ... trying to make a virus?
Use the 'pause' command. The pause command will make a "press any key to continue..." message. If you don't want this to show up, use "pause >nul". This will make the batch file wait without the pause message.
I would suggest typing in: start <nameofthefile>.INF and make sure that you have a program that is set up to defaultly open INF files.
Anytime you wish to create any type of remark in a batch file rem must be added in front of the line. Remarks are often used to skip a line in the batch file or make comments.
batch files are used to make long tasks shorter. for example, If I wanted to change the file extension of every file in the folder EXAMPLEFOLDER from .txt to .doc, I could make a batch file that did that instantly, rather than going into the properties of every file and changing the extension manually
To create a grammar "happy birthday" batch, you would need to craft a message that includes correct sentence structure, punctuation, and spelling related to birthday greetings. Make sure to emphasize proper grammar rules while expressing your birthday wishes in a thoughtful and accurate way. Double-check your work to ensure it meets grammatical standards.
You can only do it with regetit.exe, and plus if you are asking to change it with a batch file ... trying to make a virus?
You can't make the batch file automatically open up in fullscreen mode, but you can do this: @echo off mode 800 "Commands here" This will open the batch file in a rather larger-than-normal window, but it will not be in fullscreen, the user of the batch file must click the maximize button to make it fullscreen.
To create a batch file open notepad, textedit, or whatever editor you wish to use. Once open write your program, check for errors, and "make simple text." Save this program as whateveryouwant.bat. Open the file and the batch file will execute.
You can make a folder with batch by using the command: md Foldername Example: @echo off md WikiAnswers exit The batch file would make a folder named WikiAnswers, and it would appear on your desktop
If it says access is denied that means that access is deined, you can't delete it. I think you are probably trying to make a batch file virus to delete system files and is trying to make the batch file delete everything, but came into the access is deined problem.
No.
To create a batch file, click on Start > All Programs > Accessories > Notepad.Enter the commands you would like to execute.Click on File > Save. When prompted for a file name, you must select the file type "All Files (*.*)". Make sure the file name ends in ".bat", such as "dostuff.bat".The file will be saved in the folder you specified. It can be executed by double-clicking on the file.
Probably trying to make a virus. It's simple: Drag the batch file you want to start on startup into the startup folder in All Programs.
Use the 'pause' command. The pause command will make a "press any key to continue..." message. If you don't want this to show up, use "pause >nul". This will make the batch file wait without the pause message.
It will make the file work. Without it nothing will happen. Hope this helped!
YES