GetFirstFile and GetNextFile while searching for files

In LabWindows 7.0 "C" I use a wild-card building to search for files in a folder called "PAT_DISKS" below as shown:

strcpy (work, "c:\\DEVELOPMENT\\PAT_DISKS\\? MS? _DSK_PAT");
is = GetFirstFile (work, 0, 0, 0, 0, 0, 1, name);
is = GetNextFile (name);

There are at least three folders corresponding to the criteria of 'PAT_DISKS', but "GetNextFile" are not.

Is this a bug in LabWindows CVI 7.0?

Thank you, your answer helped me to find the problem.   As usual, it's between the keyboard and the Chair.  Without realizing it, I was pointing to another folder that I created earlier for debugging purposes.  There was actually only a subfolder so "GetNextFile" function work properly.

Rob

Tags: NI Software

Similar Questions

Maybe you are looking for

  • VNC Mac does not not after security update 2016-002

    After the 2016 002 security update, I am unable to VNC into any Mac Machine that has been updated. Error: The account you selected is not available

  • where can I find firefox.exe directory

    How to locate or join the firefox.exe program in Windows 7 Professional? This has happened Each time Firefox opened == I downloaded it

  • order - are not recognized

    I need to restore my system from my time Machine.  I have a wired keyboard. I can not get the command-R or the same combination of keys command-option-R to be recognized by the Mac. I have tried several times after the restart, but nothing. It mainta

  • DeskJet 1000: HP Deskjet 1000 are not not on Mac printers

    Hello, I can't install the printer that is why it is not on my list of printers. I tried and downloaded the driver, but still the printer is not listed. I would like to add that the printer is connected a USB port on my french macbook. Kind regards!

  • What to do if netapi32.dll does not work...

    Recovery and other options may not work... ' error 'Install NETAPI32. DLL is read on the screen.