Column to Row and more

October 4, 2009 at 10:01:25
Specs: Windows XP
Hello again, i am looking to create a custom URL opener in firefox. you can run as many urls as you like from firefox in this format:
"C:\Program Files\Mozilla Firefox\firefox.exe" "URL" "URL" "URL" UR"

i am looking for a batch to take a list of URL's (txt or rtf) and output it a row.

in addition to outputing the row it would also need to input the qoutations for each URL.

More over i would like to know if i could output 10 URL's per output file. meaning if i have a list of 50 URL it will out put 5 batch files containing
"C:\Program Files\Mozilla Firefox\firefox.exe" "URL" "URL" "URL" UR"

that way i will not lag the computer opening 50 url at once, but 10 works just fine. i am not sure if this is possible but any step that can be done will be greatly appreciated

See More: Column to Row and more

Report •

October 22, 2009 at 16:36:01
maybe something like:

set max=5
set out=
set i=0
for %url in (infile) do (
set out=%out "%url"
if i=5 (
echo %out >> test
set i=0
set out=

I know the syntax is all wrong but maybe the logic
structure is not, if you can "translate" it into batch. also the quotes prob'ly need to be
"escaped", not sure how that's done.

Report •
Related Solutions

Ask Question