You are not logged in.

1

Tuesday, July 15th 2003, 2:22pm

passing command line paramters to mozilla (at startup)

Hi everybody,

I would like to pass a startup option to mozilla when starting from a command line. I was thinking about specifieng a html file f.e in the current folder which the Mozilla applicaton will show after the startup.

I tried

shell> mozilla < testfile.html

but that doesn't work. Also using any other browser would be alright of course.

I would appreciate any replies and ideas.

Best regards

Nils Valentin
Tokyo/Japan
Best regards

Nils Valentin
Tokyo/Japan

nils(at)knowd.co.jp
http://www.knowd.co.jp/staff/nils

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Tuesday, July 15th 2003, 5:33pm

Usually just passing the file as a parameter should worl

#> mozilla file.html
or
#> konqueror file.html

etc

Cheers,
_
Qt/KDE Developer
Debian User

3

Wednesday, July 16th 2003, 7:43am

Thank you forthe reply.

I played around and finally found out that you need to give the full path to the file like this :

"mozilla /usr/share/manual.html"

in order to startup mozilla with the specified html file.

Thanks once more for the idea.

Best regards

Nils Valentin
Best regards

Nils Valentin
Tokyo/Japan

nils(at)knowd.co.jp
http://www.knowd.co.jp/staff/nils