I have a function that moves all the files in a directory that gets passed to it when the function is called. I search the directory with FindAllFiles using *.* to locate all the files in the directory and use RenameFile to move them. I call the function in the Installing event passing it the TargetDirectory as the directory to search. I am getting some reports that after moving the files in the directory that is passed to it, the function starts searching random directories or drives. Anyone have any idea what would cause this behavior? Our application is almost always installed on WinNT so I don’t know if it is an OS specific problem. I have not been able to reproduce the problem. When the user ran a repair after the problem, the function worked correctly, only moving files in the directory. Any ideas on what caused FindAllFiles to go wild?
TIA
BobT
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
FindAllFiles runs wild
Started by
BobT
, Jun 13 2002 17:16
1 reply to this topic