9 Mar 2007 at 21:26 #1 player player Associate Joined 18 Sep 2003 Posts 2,368 Is there an easy batch method of creating a large number of files from a text list? for example if I have: bike hike vike like I want the corresponding html files bike.html hike.html vike.html like.html Cheers
Is there an easy batch method of creating a large number of files from a text list? for example if I have: bike hike vike like I want the corresponding html files bike.html hike.html vike.html like.html Cheers
15 Mar 2007 at 16:49 #4 player player Associate OP Joined 18 Sep 2003 Posts 2,368 matja said: Windows NT/2000/XP cmd.exe shell : for /f %i in ('type list.txt') do set 1>null 2>%i.html - which is a hacky way to do the UNIX equivalent : for i in `cat list.txt`;do touch $i.html;done Windows 9x, no clue. Click to expand... thanks for your help, worked a treat
matja said: Windows NT/2000/XP cmd.exe shell : for /f %i in ('type list.txt') do set 1>null 2>%i.html - which is a hacky way to do the UNIX equivalent : for i in `cat list.txt`;do touch $i.html;done Windows 9x, no clue. Click to expand... thanks for your help, worked a treat