I'm going to use an issue I'm having with a Java application to explain my question by way of an example, but this question has nothing really to do with Java.
I'm using Windows 7 (64-bit) and I want to create a Start Menu shortcut to execute a GUI Java application. As of Java 8, the installer puts NTFS symbolic links in a well-known place pointing to a release-specific (i.e. subject to frequent change) directory:
Volume in drive C is OS
Volume Serial Number is D4DC-33AF
Directory of C:\ProgramData\Oracle\Java\javapath
05/03/2015 15:40 <SYMLINK> javaw.exe [C:\Program Files\Java\jre1.8.0_40\bin\javaw.exe]
You can still do the useless batch file. Use CALL inside of it so the console window closes immediately after starting your application.
Also, not on Windows machine right now, but can you create a shortcut to
CMD.exe instead and pass your command in there? You may do it in conjunction with
CALL in case console window appears.