rmnrdi
7 years agoContributor
FindFiles not working
This line of code is not finding a file and returning null.
foundFiles = aqFileSystem.FindFiles("C:\\Temp\\" , "*.rxi");
//I'm using javascript, hence the escape \
Here is a picture of ...
- 7 years ago
I did use the same code and .rxi extension file. It did work for me, please refer below...
function FileFinder() { var foundFiles, aFile; foundFiles = aqFileSystem.FindFiles("E:\\UsersDirectory\\", "*.rxi"); if (!strictEqual(foundFiles, null)) while (foundFiles.HasNext()) { aFile = foundFiles.Next(); Log.Message(aFile.Name); } else Log.Message("No files were found."); }