N.B. Be sure this post is not about points. Seriously, the 2 points from downvote is the last thing I'd worry about. It is about what an answer should be (or not).
The situation: user asks for a solution to start his application without having to type a complicated command each and every time.
He obviously isn't familiar with existing possibilites, and so he says. He even makes clear he is looking for options: "something like a bat-script or .lnk in windows" we read. Looking at the issue, a much better fit to his problem is available than what he literally asks for, and after posting, OP confirms that's indeed the solution he was looking for.
Then, the answer gets downvoted by someone, because although it solves OP's issue, it is not what OP himself had in mind for his problem.
from the comment:
You're probably right, but this is not the correct answer to the question. I see this as a problem (not the suggestion itself, but this post being the accepted answer), as some scripts may be longer and the actual answer to "how do I make a sequence of commands a script" is another one. Also note that your .desktop file does not do the same as the commands in the question, when MyDirectory does not exist.
Seriously? We answer questions to provide solutions. Nothing more, nothing less.
This has happened to me a few times lately. Again, it is not about the points. It is about what an answer should be (or not).
Please don't downvote an answer because it solves issues in another way than OP initially had in mind.
It is like insisting on selling someone a €100,- screwdriver because he doesn't know where the cheaper ones are in the store.