Windows 8 and 8.1 Forums

exe/bat files not found in the path

  1. #1

    Posts : 1
    Windows 8.1

    exe/bat files not found in the path

    I have a Lenovo Ideapad s510p running original Windows 8.1. Bought it in May'14.

    The problem is that it's not able to find & run some bat & exe files given in the '%Path'. Whereas it can find some - it can't find some others. So it doesn't run them unless full path is specified.

    This is a big issue. The Path & PATHEXT variables are configured properly.

    Here they are:

    "PATH" user variable: "C:\Users\Mayank\AppData\Roaming\npm\; C:\Program Files\MySQL\MySQL Server 5.6\bin\;"

    "Path" System variable: "C:\Program Files (x86)\iis express\PHP\v5.3;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShel l\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft\Web Platform Installer\;;C:\Program Files (x86)\nodejs\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\; %JAVA_HOME%\bin; %GRAILS_HOME%\bin\; C:\Program Files\MySQL\MySQL Server 5.6\bin\;C:\Program Files\Windows NT\Accessories;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\; C:\Program Files\MySQL\MySQL Server 5.6\bin"

    "PATHEXT" systems variable: ".EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"

    Now for instance the MySql 5.6 binaries are in the path. But I am not able to run them from command prompt without specifying the full path.

      My System SpecsSystem Spec

  2. #2

    Forever West
    Posts : 591
    WinVista, Win7, Win8.1, Win10, Mac OS X 10.10, Linux Mint 17.1

    It might depend upon where you are starting from at the Command Prompt. The default path is C:\Users\logon name> so that would have to be changed to the Folder holding the .exe or .bat file. It's a DOS thing, been around for years. To start type C:\ at the prompt to get back to the root of the drive then start going into the Folder desired, e.g. at C:\> type CD\Users\Mayank\Music to get to that Folder then do a DIR /S to see the files in it sorted by name, subFolders first then back at the prompt type the file name including extension.
      My System SpecsSystem Spec

  3. #3

    Posts : 87
    Win 8 and Linux (MINT)

    A few years ago we ( IT dept I was in at the time) found that some bug in java (JRE developer I think it was) caused the path to not function correctly anything in the path after the section was ignored the fix was to place that part of the path at the end of the path statement.

    Look at the location of the files that will not work correctly you may find that everything after a certain path statement does not function, fix is to move the offending path statement to the very end.
      My System SpecsSystem Spec

  4. #4

    Why do you have a user and system PATH variable? Get rid of the user path by changing it's name then test, see what happens.
      My System SpecsSystem Spec

exe/bat files not found in the path
Related Threads
Hi I have a network of 10 windows 8.1 (pro) desktop computers - all identical PCs - all set up about 6 weeks ago. All computers show on the network. I have one drive mounted on one computer, which is shared with all other computers. I have mapped this drive as I: All has worked fine until...
Whenever I try to save a picture from the web I get an error 0x80070035 (network path not found). The computer that I am getting the error for is no longer a part of my network - it has been taken out of service and is no longer available. While this is not a show stopper, it is an annoyance....
Okay I am sure this is posted somewhere but I did a search and most of the posts were talking about two or more computers - one having the problem the other not. Although I should try my son's laptop and see if his has the same problem. I use to be computer smart and could figure this all out on...
Hi, I am having trouble networking my Toshiba Laptop with Windows 8 and three (3) of the five computers on my network. The three that I cannot access are all running Windows 7 64 bit, the others that work fine are Windows Vista 32 bit. I can ping all the computers both by name and ip address. Also...
Hi In my network 4 Desktop running windows XP all are connected LAN cable and my modem is tplink and 1 laptop running windows 8.1 pro accessing network through wireless in my laptop network place all the pcs are visible but I am not able to ping them and when I click I am getting message that...
I have two PC's (Windows 8 & Windows 7) connected on a network and homegroup. For some time I have difficulty with the Windows 8 pc always recognizing the Windows 7 pc on the network (in my computer). When I click on the icon or the arrow to open on the branches, I get that the path is not...
I have been trying to solve this for hours on end, without success. I can share a folder via HomeGroup on my Windows 8 Professional x64 laptop and I am able to access the folder on my Windows 7 x86 Starter netbook, but not the other way round, meaning I get the same errorcode 0x80070035 each time I...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook