The command "for" start the loop and "do" is the end of the loop, this two commands should be used with care especially in a autoexec.bat it can put your PC in a infinity loop and you might not be able start it again. For help on all DOS commands in the command prompt just type the word "help" or "?" a space and then the command IE "C:/>help for" or "C:/>? for" then DOS will list everything you need to know about the command.
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.
Most likely it's because UAC has blocked your batch file. Make sure that you are running cmd in "Administrator mode" or turn off UAC.
Make a batch file. Open up notepad, type in the commands just like you would if you had a C:\prompt and choose "save as." When you save it, remove the .txt extension & use .bat instead. Batch files can be executed just like an .exe, any commands in the batch file are put to a command prompt & executed. So just put the batch file (or a shortcut to it) in programs/startup in your start menu & youre done!
Use the SET command. For example: SET folder = C:\some_folder CD %folder% DIR *.*
Open up a notepad.Type in the the batch parameter you need to run.Then save it as a .bat file.File > Save as > myfile.batExample:If you need to to copy a file (filename picture001.jpg) in C: drive to the D: drive, you can create the batch to do the task by typing the following parameter in the batch file.xcopy [path of the file] [destination path]xcopy C:\picture001.jpg D:Now save it as a batch file and double click to run it.Enjoy!
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?
Notepad files aren't something that just pop up on your system. You have to make them through the program called Notepad, which can be found at Start>All Programs>Accessories>Notepad. Once you have made the notepad document, you can save it somewhere on the computer, and then it is an editable Notepad file.
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.
Go to Notepad, enter HTML, and save the file with an extension of either .htm or .html.
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.
You can just use the echo command to construct a loading bar out of words and symbols, then use a cls + goto command and then loop it so it will inch forward every frame.