I have inherited an ancient .bat file and I want to ad new features to it. Unfortunately, I know almost nothing about .bat files. Currently, when you click it you get a brief message on the screen and the prompt "press any key to continue." When you press a key, it extracts a dump file from an Oracle db and puts it in the same directory as the .bat file.
I want the .bat file to run without any user interaction. I don't want to get the "press any key" stuff. I have looked at the .bat file in Notepad and I think I can guess how to achieve that. I need to eliminate the lines with ECHO "[text]" and the lines with PAUSE. Is that a good guess?
I also want the .bat file to put the dump in a specific directory. I want it to overwrite the existing file in that directory. I want all of this to happen without any Windows dialogue boxes.
When I have finished my modifications, I plan to put the file on my Windows scheduler. That is why I want to eliminate the user input
I want the .bat file to run without any user interaction. I don't want to get the "press any key" stuff. I have looked at the .bat file in Notepad and I think I can guess how to achieve that. I need to eliminate the lines with ECHO "[text]" and the lines with PAUSE. Is that a good guess?
I also want the .bat file to put the dump in a specific directory. I want it to overwrite the existing file in that directory. I want all of this to happen without any Windows dialogue boxes.
When I have finished my modifications, I plan to put the file on my Windows scheduler. That is why I want to eliminate the user input