| 1. |
Solve : help me, I'm stupid. Simple .bat files question? |
|
Answer» Sorry for bothering you people, but I am realy stupid, and it seems I CANT get even a VERY simple task done. Sorry for bothering you people, but I am realy stupid, and it seems I cant get even a VERY simple task done.there's no stupid people, only LAZY peopleQuote from: Zarevock on June 20, 2008, 06:33:46 PM What I want to know is how can I put multiple command lines in a .bat file, so it may run all of them at once. You can't do that. You can put multiple commands in a batch file, so that it will run them one after the other. I expect that is what you meant? Quote go to the SPECIFIC directory Code: [Select]cd /d "d:\path\to\desired\directory" I am not sure what you mean by this: Quote copy 2 files into one If you mean join two files together to form a third file, then this would do that: Code: [Select]copy file1+file2 file3 Why don't you post the batch file that you wrote, since there may be an error in the first line that stops it ever getting to the second one. It may be usefull to insert a "Pause" command after each line so that you can take time to read the console output and determine what's failing. A simple spelling mistake can be found by reading the output. |
|