Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: luanch of executable from within .bat file fails  (Read 18159 times)

0 Members and 1 Guest are viewing this topic.

Squashman



    Specialist
  • Thanked: 134
  • Experience: Experienced
  • OS: Other
Re: luanch of executable from within .bat file fails
« Reply #45 on: December 02, 2014, 07:52:58 PM »
I am saying that the mingw install did not do that. It looks like someone accidentally added those paths to the compspec variable instead of the path variable.

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: luanch of executable from within .bat file fails
« Reply #46 on: December 02, 2014, 08:02:18 PM »
I am saying that the mingw install did not do that. It looks like someone accidentally added those paths to the compspec variable instead of the path variable.
Yes, that makes sense. Blame it on the human.  ;D

Jerry Ford

    Topic Starter


    Rookie

    • Experience: Expert
    • OS: Windows 7
    Re: luanch of executable from within .bat file fails
    « Reply #47 on: December 03, 2014, 06:35:00 PM »
    The human may in fact be guilty.  :)

    I do not recall the steps I took when I installed mingw, just that I did, and now that I review the mingw install instructions, it says the person doing the installing needs  to add the mingw references to PATH.  It's possible I accidentally added them to ComSpec, though they were also present in my path as well as the comspec variable. Possibly, I recognized my error and then failed to remove the erroneous entries.

    So I wouldn't be so brash as to point a finger at the mingw installer.  It may very well have been me.

    It's interesting to note, however, that as soon as I posted my successful resolution to the problem on the Google bug report site (I did file a Google bug before coming here), someone else replied encountering the same problem, nearly identical except that his ComSpec value had python references added to it instead of mingw. 

    So, I may be guilty, but at least I'm not alone. 

    Jerry

    foxidrive



      Specialist
    • Thanked: 268
    • Experience: Experienced
    • OS: Windows 8
    Re: luanch of executable from within .bat file fails
    « Reply #48 on: December 03, 2014, 07:00:13 PM »
    It's interesting to note, however, that as soon as I posted my successful resolution to the problem on the Google bug report site (I did file a Google bug before coming here), someone else replied encountering the same problem, nearly identical except that his ComSpec value had python references added to it instead of mingw. 

    So, I may be guilty, but at least I'm not alone. 

    Jerry

    It's nice to hear the outcome Jerry, and that it's likely to be just human error.

    None of us are immune from that. :D

    The thought did occur to me yesterday wondering how any of us would have solved the problem if you hadn't posted the SET output.
    That was such a fluke.

    Eventually, with enough test batch files and copies of the error data, it may have been revealed - but you might have given up way before then!

    :)