Hi there, The following question may not be relevant to this mailing list, but I hope someone might help me. Under one folder of my Windows XP machine, I have thousands of html files, from F0001.html to F9000.html, and want to parse them one by one. Is there a way of doing this with hpricot (ruby on rails) like we can to with the following cmd command (download and save as DEG20010779.html to 20010780) on windows?
FOR /L %I IN (20010780,-1, 20010779) DO wget -O DEG%I.html http://xyz.com/information-e.php?ac=DEG%I In other words, I want to do this using hpricot (ruby on rails): while loop (this file not parsed) Load.File(every file under C:\mydir); parser(File) Load.File(nextFile) endof the loop The files to be parsed are: F0001.html to F9000.html under C:\mydir. Thanks in advance, Robert ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
