Closed Bug 70447 Opened 24 years ago Closed 24 years ago

Should be able to do "mozilla --help or /?" from command prompt in windows

Categories

(Core Graveyard :: Cmd-line Features, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 26761

People

(Reporter: netdragon, Assigned: law)

Details

When you run Mozilla inside of the command prompt, It should return the 
parameters Mozilla can be run with and information about them. Right now, 
doing "Mozilla /?" does nothing.
Mozilla -h or -help doesn't do anything either
Summary: [rfe?] Mozilla needs DOS stub → Should be able to do "mozilla --help or ?" from DOS
Unfortunately due to a Microsoft limitation, programs must be of two types:
GUI programs which are disconnected from any console from which they are started
and console programs which create a new console unless the are started from one.

If you want to write to the current console then you must be a console program.
Unfortnately this means that you always have a console. Create a shortcut to
"start mozilla" to see how ugly this is.

One alternative is to have a console build of mozilla. A second alternative is
to redirect the output of Mozilla to a file, or on Windows NT or 2000 to a pipe
(mozilla -help | more). A third alternative is to capture the output of Mozilla
using a console program, such as http://www.nrr.co.uk/console.exe (2048 bytes).
i think the best we can do is be a console application and release the console 
when we get past command line handling. this is probably a dupe
Assignee: asa → law
Component: Browser-General → XP Apps: Cmd-line Features
Keywords: qawanted
QA Contact: doronr → sairuh
Whiteboard: DUPEME
set severity to enhancement?
dup of #50596 and depend on #26761?
The problem with that is that the console will flicker.

Is there any way that we can determine the calling process or something, and if 
it is the command prompt then get its main window?

Or maybe we can just open a regular window that has the command line options.
Summary: Should be able to do "mozilla --help or ?" from DOS → Should be able to do "mozilla --help or /?" from command prompt
Summary: Should be able to do "mozilla --help or /?" from command prompt → Should be able to do "mozilla --help or /?" from command prompt in windows

*** This bug has been marked as a duplicate of 26761 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy
Status: RESOLVED → VERIFIED
Keywords: qawanted
Whiteboard: DUPEME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.