I don't think there's a way - your browser is usually GUI based, and "dos" (cmd.exe) is text-based. To send text into a gui, you need vbscript (or vis.basic) to do sendkeys into the app. I posted a general-purpose sendkeys front-end for use by batchfiles at: http://www.computing.net/answers/pr...
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.