Not able to launch certain .exe files with created .bat shortcuts


  1. Posts : 533
    Windows 10 Pro x64 Version 21H2
       #1

    Not able to launch certain .exe files with created .bat shortcuts


    Hello,

    To be able to use custom tiles on the Start Menu, I make .bat files of .exe files to use them as shortcuts to launch the .exe files. I make the .bat file by opening Notepad, pasting the directory path of the .exe file in quotes, and then save it as a .bat file. This usually works perfectly for many .exe files in my case.

    However, there are 2 GOG games .exe files that simply don't launch when using a .bat file as a shortcut. One game (Spelunky) gives an error ("Error generating config file") and another one (Stardew Valley) simply doesn't launch when double-clicking its associated .bat file (it shows in the logs that it has crashed). Launching the games by double-clicking the .exe files works perfectly and I've double checked the directory paths that I've put in the .bat files.

    What could possibly be the cause of this?
      My Computer


  2. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #2

    Try running the .bat files in "Run as Administrator" mode.
      My Computers


  3. Posts : 533
    Windows 10 Pro x64 Version 21H2
    Thread Starter
       #3

    philc43 said:
    Try running the .bat files in "Run as Administrator" mode.
    This doesn't fix it unfortunately.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:30.
Find Us




Windows 10 Forums