Windows 10: Trouble running .bat files Solved

  1.    10 Oct 2015 #1

    Trouble running .bat files


    Hi, I'm trying to run .bat files on Windows 10, but it tells me that "This app can't run on your PC".
    It doesn't matter what I use it for, .bat files just won't run anyway.
    Are .bat files no longer supported? (ran fine on Windows 7) Any workarounds?

    I'm no expert on this field, which is why I came here. Sorry if this has already been answered here.
    Click image for larger version. 

Name:	pwVszwB.png 
Views:	6 
Size:	280.4 KB 
ID:	42116
      My ComputerSystem Spec


  2. Posts : 10,208
    Windows 10 Pro X64
       10 Oct 2015 #2

    Welcome to the forums Larsen97. Try right clicking the file, and choose run as administrator.

    Edit

    Also try opening command prompt(Admin) and type the name of the file. For example if the file name is startup, your would type startup.bat then press enter
      My ComputerSystem Spec

  3.    10 Oct 2015 #3

    Dude said: View Post
    Welcome to the forums Larsen97. Try right clicking the file, and choose run as administrator.

    Edit

    Also try opening command prompt(Admin) and type the name of the file. For example if the file name is startup, your would type startup.bat then press enter
    Tried doing that a while ago, but it didn't work properly. I read your reply and figured that I wrote the wrong code after some further inspection... haha.

    Anyways, it's working as intended now. Thanks for the assistance!
      My ComputerSystem Spec


  4. Posts : 10,208
    Windows 10 Pro X64
       10 Oct 2015 #4

    Glad you fixed it, you're welcome. I like your theme too.
      My ComputerSystem Spec

  5.    10 Oct 2015 #5

    Larsen97 said: View Post
    Tried doing that a while ago, but it didn't work properly. I read your reply and figured that I wrote the wrong code after some further inspection... haha.

    Anyways, it's working as intended now. Thanks for the assistance!
    I'm using the High Contrast #2 theme, I find it bit more eye-friendly than the default theme, and it fits my gaming peripherals as well.
      My ComputerSystem Spec


 

Related Threads
Solved Trouble with new keyboard in Drivers and Hardware
Hi folks, I was given a CM Storm Devastator gaming keyboard and mouse for Christmas. I plugged everything in and my mouse lighted up right away. however, in order to turn the keyboard lights on I have to press SCR LK. The problem is that...
Problem with running .exe files in Software and Apps
Hi everyone, my friend having a problem with running .exe files. I thought it would be the best to ask here. He can't run .exe files. Sorry for my bad English. http://oi58.tinypic.com/spvnh1.jpg
Since upgrading from Windows 7 I have been having some difficulty opening files and even starting programs by clicking on them. Often I have to right click the icon or file and then choose open. I thought it may have been I just didn't have the...
Solved Trouble installing 10 in Installation and Upgrade
Trying to install 10 preview build 9926 as a dual boot with Win 7. I have a separate blank hard drive for the Win 10. Using a DVD with the ISO burned on it. When I try to install after getting into "custom install" it states I can't install because...
Solved Trouble with VMware in Virtualization
I have the latest build of 10 installed in the free version of VMware and everything seemed to be working OK. When I've finished usually I'll either power off or suspend the VM, never had problems. The last time I powered off was a couple of...
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 05:31.
Find Us