chkinf bug: No )'s in the path so no DirectX in the path

Discussion in 'Windows Vista Drivers' started by [email protected] Systems, Jun 4, 2007.

  1. Hi,
    Running chkinf gives me:
    \Utilities\Bin\x86 was unexpected at this time.

    This is part of a DirectX install which adds the following to the path:
    C:\Program Files\Microsoft DirectX SDK (April 2007)\Utilities\Bin\x86

    I'm guessing the problem is this "for" line (about line 27):
    for %%I in (%PATH%) do (
    if exist %%~fsI\chkinf.bat (
    set PLibPath=-I%%I
    goto runit
    )
    The "if" may become a problem too.

    I worked around the problem by modifying the path variable to not have
    that directory in the path. I did this by:
    1. Typing "echo %path%"
    2. Copying the path to notepad
    3. Deleting the problematic directory
    4. Coping the new text for the path variable
    5. typing "path=" followed by pasting the new list of directories

    I'm not sure, but it appears another work around is to add the chkinf
    directory to the beginning of the path variable.

    I'm not sure where to report this issue, and my quick check doesn't show
    any documentation on this issue. I hope this is the appropriate way to
    get this fixed or at least documented. If not, please advise me.

    Thanks,

    Drew Daniels
     
    [email protected] Systems, Jun 4, 2007
    #1
    1. Advertisements

  2. ddaniels@Linear Systems

    Colin H Guest

    This problem has been around for a while - its acknowledged by MS (they were
    the ones who told me about it), just not fixed yet. There was another post
    on this the other day by someone - I think they fixed it by using quotes
    around the directx path spec.
    (I was told its the spaces which cause the problem).

    Most DTM bugs aren't documented, except here.....
     
    Colin H, Jun 5, 2007
    #2
    1. Advertisements

  3. ddaniels@Linear Systems

    Colin H Guest

    Just realised you may have actually hit this problem independantly rather
    than from within DTM - chkinf is used there too though.
     
    Colin H, Jun 5, 2007
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.