Digisoul Posted July 25, 2008 Share Posted July 25, 2008 (edited) Hello, I m trying to make a program which get all the files from external txt file. and store them in array, and find them in whole Drive. i tried filefind function but it not give files from sub dirs. i tried to search in the forum but its not match my current problem. here is da code which im using for store files names in array. $file=FileOpen(@DesktopDir&"\data.dat",0) $fd = FileRead($file) $array = StringSplit($fd, "|") Here i want the script to find files(from array) in Drive D: 1 thing more i want the path of result files. plz help.... Edited July 25, 2008 by Digisoul 73 108 111 118 101 65 117 116 111 105 116 Link to comment Share on other sites More sharing options...
billthecreator Posted July 25, 2008 Share Posted July 25, 2008 Use .ini they work great. IniRead() IniWrite() [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap Link to comment Share on other sites More sharing options...
Digisoul Posted July 25, 2008 Author Share Posted July 25, 2008 (edited) Use .ini they work great. IniRead() IniWrite() I m Asking for Finding the Files which are returned by Array! Edited July 25, 2008 by Digisoul 73 108 111 118 101 65 117 116 111 105 116 Link to comment Share on other sites More sharing options...
Andreik Posted July 25, 2008 Share Posted July 25, 2008 _FileReadToArray When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Digisoul Posted July 25, 2008 Author Share Posted July 25, 2008 How Can i use _FileListToArray for getting files from Sub dirs ? with full path of every file? plz help me guyz. 73 108 111 118 101 65 117 116 111 105 116 Link to comment Share on other sites More sharing options...
weaponx Posted July 25, 2008 Share Posted July 25, 2008 How Can i use _FileListToArray for getting files from Sub dirs ? with full path of every file?plz help me guyz.Search for FileListToArray in Example Scripts. You need a recursive function to search subfolders. There is no official function. Link to comment Share on other sites More sharing options...
Digisoul Posted July 25, 2008 Author Share Posted July 25, 2008 (edited) Search for FileListToArray in Example Scripts. You need a recursive function to search subfolders. There is no official function.Will you please send me any Sample Code for FileListToArray! i checked the examples but i m still unable to solve my problem. Edited July 25, 2008 by Digisoul 73 108 111 118 101 65 117 116 111 105 116 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now