A Batch Script
Batch file that opens a program waits 5 seconds then closes that program. For some reason I cannot get this batch to perform the open portion, wait, then the close portion in .... startup batch file hangs up on second command.
Hey want to learn batch?? Well a batch file does not need a program (I.E a compiler or interpreter) like in other languages like C++ and Python. No a batch file is just saved a certain way.
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't download a program that makes a batch file to do what you want to do. You will need to legally learn about hacking, and then write the file yourself.
Batch Mode.
Nope, the format of a file is a vital part of a successful batch file. Even if a file with an unknown file format contains working batch file code in it, a batch file will still not be able to read it because of its foreign file extension. If you want the batch file to be able to read the foreign file, then you can set it to rename the mutated file to .bat format and then read it for it to work. Example: @Echo off REN File.Foreign File.bat CALL File.bat exit
Easy enough to create a batch program is you know what the commands are simply goto a text file or notepad and save it as "something.bat" and click on it
Yes, using a batch file like this one: @echo off killtask /IM programyouwanttoclose.exe /F C:\Program Files\Programyouwannaopen\programyouwannaopen.exe Then you run the program using this batch file instead of the usual link / exe Regards, Andrea Fattori Yes, using a batch file like this one: @echo off killtask /IM programyouwanttoclose.exe /F C:\Program Files\Programyouwannaopen\programyouwannaopen.exe Then you run the program using this batch file instead of the usual link / exe Regards, Andrea Fattori Yes, using a batch file like this one: @echo off killtask /IM programyouwanttoclose.exe /F C:\Program Files\Programyouwannaopen\programyouwannaopen.exe Then you run the program using this batch file instead of the usual link / exe Regards, Andrea Fattori
Yes you can have a running batch file continue in another batch file, by getting it to call itself with an argument. To call itself use %0 (and think it is best to use one of CALL or START (command) or maybe CMD) To analyze arguments (the first one) do code like: if %1TRICK==TRICK goto nomore rem start of do stuff
the extension of a batch file is ".bat"
put the program piece in the file into the main file in the call of duty program file
kjio ^ couldn't you be more creative? xD