It just seems to change the directory and stops right there
cmd /k cd /d"C:\Users\amanz\Desktop\Introduction - Computing\Java files"
There are two errors with the above:
cmd /k runs a command and then returns to the CMD prompt (which terminates the batch file and goes back to the cmd shell where you called it from).
You should have a space after the /d before the [drive:][path] argument.
In fact, you don't need to use cmd at all (it is not needed for what you want to do).
Use the following batch file:
cd /d "C:\Users\amanz\Desktop\Introduction - Computing\Java files"
call atomer.bat
This assumes that atomer.bat is either:
- located in the directory
C:\Users\amanz\Desktop\Introduction - Computing\Java files, or
- located somewhere on your path.
Further Reading