Please use double-backslashes instead of single backslashes. For more info please see "Special ASCII characters" topic in the help Example "c:\\temp\\*.*" or "c:\\temp\*.*" : I am using the 2 functions (FileFindFirst, FileFindNext)in a loop, exactly : like the sample JAL for the FileFindFirst function. : The problem I am having is that if I specify a full path (such as : "C:\temp\*.*") in the first (filename) parameter, it returns me : the first matching filename in the second parameter (firstfile) - so far, : so good. But as soon as I try to use the firstfile variable, I get a : "file not found" error. : What is strange is that if I let it use the current directory for the : filename parameter (such as "*.*"), it works fine. It finds and : can process each file. : Even using the EXACT example code, but substituting a full path for parameter : 1, I get the error? : This is driving me nuts - Has anyone else encountered this problem? : Thanks!
|