1.    07 Jun 2017 #1
    Join Date : Jul 2015
    Posts : 132
    Windows 8.1 Pro

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


    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.    08 Jun 2017 #2
    Join Date : Nov 2015
    Posts : 2,871
    64bit Win 10 Pro ver 1709 Build 16299.64

    Try running the .bat files in "Run as Administrator" mode.
      My ComputersSystem Spec
  3.    08 Jun 2017 #3
    Join Date : Jul 2015
    Posts : 132
    Windows 8.1 Pro
    Thread Starter

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


Similar Threads
Thread Forum
Solved Unable to Access Files Unless New Folder Created
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...
General Support
Missing recent files created in win 10
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...
General Support
Why are these temp files created ?
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: ...
General Support
Quick Launch - Shortcuts not working, Attempting to use clears taskbar
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...
General Support
Outlook *.ost files being created instead of *.pst
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...
Browsers and Email
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:52.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums