How to download latest kepler when starting applications

This is a short guide how to create a simple batch file for Windows for downloading the latest kepler element before starting a satellite application. In this exemple, I am downloading kepler before starting the program GetKISS (by DK3WN).

First, create the .bat-file in a text editor and name it, for example, getkiss_starter.bat
The secret is to use the Windows program bitsadmin for downloading from web. Modify the folder path after your needs:

# Delete the old file before downloading new
del “c:\yourfolderpath\satnogs.txt”
# Use bitsadmin for downloading
bitsadmin /transfer mydownloadjob /download /priority normal “https://www.celestrak.com/NORAD/elements/satnogs.txt” “c:\yourfolderpath\satnogs.txt”
# Start the program
“C:\yourfolderpath\getkiss.exe”

Then, start GetKISS with the file getkiss_starter.bat and you will always have the latest kepler!