Windows 10: Path of a vanilla Windows 10 system

  1.    10 Aug 2015 #1

    Path of a vanilla Windows 10 system


    Could someone who's done a clean install of Windows 10 tell me what their PATH looks like, please? You can see this by opening a Command Prompt and issuing the command "echo %path%"

    I have a problem that a number of programs on my system fail with a popup such as "Perl interpreter has stopped working", and I suspect I have a rogue DLL somewhere along my PATH.

    My plan is to write a program that sets the %PATH% variable to the "standard" version, then runs the perl.exe program.

    If Perl works, I'll be one big step closer to a solution. If Perl still "stops working" then I'll have to look elsewhere.
      My ComputerSystem Spec

  2.    10 Aug 2015 #2

    C:\windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
      My ComputerSystem Spec

  3.    10 Aug 2015 #3

    C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\AMD APP\bin\x86_64;C:
    \Program Files (x86)\AMD APP\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\S
    ystem32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\
    ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Hewlett-Packard\SimplePass
    \;C:\Program Files\Calibre2\;C:\Program Files\OpenVPN\bin
      My ComputerSystem Spec

  4.    11 Aug 2015 #4

    Thanks for the anwers. I've now turned an obscure problem into a confusing set of obscure problems.

    First off, the PATH doesn't seem to be the source of the problem. I get the same symptoms with my path, and the very simple path above.

    In the process of testing the various paths, I wrote a small program in Open Object REXX, to set the path (to the directory where my perl.exe resides) and then to run hello.pl with various paths. They all worked.

    Then I wrote a BAT equivalent program, and they all failed.

    Then, I opened hello.pl by hand. It always failed.

    So, Open Object REXX is setting things up so that perl.exe works. But I have no idea what it might be doing under the covers. I'll ask the Open Object REXX gurus...
      My ComputerSystem Spec


  5. Posts : 5,011
    Windows 10 Pro X64 15063.138
       11 Aug 2015 #5

    Rexx runs as a service so runs under System credentials if I remember correctly.
    Try running from a Elevated Command Prompt.
    Try changing to the directory the pearl script is in before running it.
      My ComputersSystem Spec

  6.    11 Aug 2015 #6

    Ztruker said: View Post
    ....
    Try running from a Elevated Command Prompt.
    Try changing to the directory the pearl script is in before running it.
    I started cmd.exe with "Run as Administrator", but I still couldn't get perl.exe to run (get the ...has stopped working... popup). In fact, I get the popup even if I run perl.exe with no parameters.

    But I've made an additional discovery. If I invoke the perl.exe from inside a rexx program then it works. But if the rexx program calls a script such as get_iplayer.cmd and that script then calls perl.exe then the perl.exe fails.

    So, it seems that it is the Windows Command Processor that is failing, assuming that *.cmd scripts are processed by the Windows Command Processor. That's cmd.exe isn't it?

    Anyway, it's getting late (for me, anyway) so I'm going to sleep on this.
      My ComputerSystem Spec


  7. Posts : 5,011
    Windows 10 Pro X64 15063.138
       11 Aug 2015 #7

    Where did you get the version of pearl you are running (link)? Did you install it under Win 10 or waas it installed undr 7 or 8.1 then you did the upgrade to 10?
      My ComputersSystem Spec

  8.    12 Aug 2015 #8

    Ztruker said: View Post
    Where did you get the version of pearl you are running (link)? Did you install it under Win 10 or waas it installed undr 7 or 8.1 then you did the upgrade to 10?
    The perl.exe which is failing was bundled with the get_iplayer program. It isn't "installed" as such, it just exists in the same directory as the get_iplayer code. It is "modified" for use with get_iplayer, so I can't just use a standard perl executable (presumably)
    I installed get_iplayer originally under Windows 7 Ulimate x64, and then migrated to Windows 10 about a week ago.
    The perl.exe is dated Sep 9, 2014.
      My ComputerSystem Spec


  9. Posts : 5,011
    Windows 10 Pro X64 15063.138
       12 Aug 2015 #9

    What about uninstalling and reinstalling get_iplayer?

    btw: I love Rexx, been using it since the late 70's (main frames) to OS/2 to Windows.
      My ComputersSystem Spec

  10.    13 Aug 2015 #10

    Ztruker said: View Post
    What about uninstalling and reinstalling get_iplayer?
    I installed the newer version of get_iplayer as my first attempt at fixing the problem. I should have mentioned that.

    I'm almost at the point where I can live with this. All I have to do is find the tasks that are generating the "... has stopped working" popups, and see if the trick of running them inside REXX fixes them.

    The main problem I foresee is the bunch of 4/5 popups I get on a boot/restart - they all point at "The Windows Command Processor", and that doesn't really tell me what was going on at the time. Still, restarts are pretty rare these days, so it's not causing me a big problem.
      My ComputerSystem Spec


 

Related Threads
I upgraded 5 Dell machines no issue, but the 6th one, an ASUS on 8.1 was not so good. It downloaded fine via Windows Update, installed fine, completing right to the end and then it decide to permanently cut all ties with the internet so it not...
Windows 10 download path? in Installation and Upgrade
With the download coming via Windows update, is there any way to specify where you want the download to go to, so that you can install it whenever you want to, instead of Windows asking when you want to be reminded as to when to install Windows 10.
I have a dual boot system with two SSDs, with Windows 8.1 on one and Build 10240 on the other. At this stage I am confused by all the Microsoft posts about upgrading. Will I be able to upgrade to the new Build on the 29th on my Build 10240...
Hello. Just installed Win10. I'm having trouble both opening and renaming/changing some files. I had no trouble before on win8. I am administrator with elevated previliges. I changed UAC level to the lowest. I keep getting this error:...
How to Display Full Path in Title Bar of File Explorer in Windows 10 This tutorial will show you how to display either the name or full path of the current open folder in the title bar of File Explorer for your account in Windows 10. This will...
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 17:35.
Find Us