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

  1.    07 Jun 2017 #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 ComputerSystem Spec


  2. Posts : 3,286
    64bit Win 10 Pro ver 1709 Build 16299.371 and W10 Insider Builds 17134.1 and 17643
       08 Jun 2017 #2

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

  3.    08 Jun 2017 #3

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


 

Related Threads
Hello. I have been having problems with my file access lately. There are times when I create a folder and place files in the folder. After a while, the files become inaccessible. When I try to access the file, the program opening the file states...
I recently ran into an issue with windows 10 and had to revert to the windows 7 build. In doing so all of my recent files have disappeared. I think the files are hidden somewhere because the used space on my hard drive has remained the same. I've...
I've noticed a folder that builds up hundreds of temp files inside with names like 1A72CF2C.tmp and 1CF741E1.tmp. The path to the directory is: ...
I am having an issue with the Quick Launch taskbar that just began yesterday... Here are my issues: 1. Quick Launch shortcuts to not work. 2. Cannot delete, or look at shortcut properties. 3. Attempting to use Quick Launch shortcuts cause...
I upgraded to Win10/Office 2016 from Win7/Office 2013. At the same time, I changed my web mail (Gmail) from POP3 to IMAP. Since the upgrade, Outlook creates *.ost data files instead of *.pst data files. As far as I am able to determine, *.ost...
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 00:58.
Find Us