|
|
As this thread is rather old now, my pardon if you've already figured this
out.
I never knew we could do that before, but I am having fun now. I would
really like that list of Opera variables if you know it. Can't seem to
find it on my own.
I added the following lines to my custom menu file:
Item, Open command prompt = Execute program, "cmd.exe","/k echo %u"
Item, Show DIR in command prompt = Execute program, "cmd.exe","/k dir *.*"
Item, Run batch file = Execute program, "cmd.exe","/k c:\temp\go.bat"
Item, Send selection to prompt = Execute program, "cmd.exe","/k echo %s"
They all work. Based on this, you should easily be able to use:
Item, "Wget-File" = Execute program, "cmd.exe", "/k
f:\Progra~1\Wget\Wget-File.bat %l"
~Naruki
On Thu, 16 Oct 2008 03:42:41 +0900, Leon Fisk <lfisk@xxxxxxxxxxxxxxxxx>
wrote:
Maybe, Franc Zabkar <fzabkar@xxxxxxxxxxxxxxxxx>
Wrote in <svuaf4lenr0lt9rviealrnllasqo48d3ba@xxxxxxx>
<snip>
In your case, couldn't you just add a "pause" command (and maybe an
"exit") to the end of your .bat or .cmd file?
If you want the console window to remain active, then add "cmd.exe" or
"command.com" to the first line of your .bat. This launches a second
copy of the command processor which will be automatically terminated
by the "exit" command at the end of the .bat.
- Franc Zabkar
Good ideas Franc, but I already have a "pause" and/or
"Cmd.exe" in different files. Opera still closes the window
brought up.
Opera appears to be killing the call for some unknown
reason. I suspect it sees/finds a Console style window which
is either unexpected or not acceptable. The apps that are
failing to be executed in this manner are all Console
versions. It does work when calling Irfanview.exe to load an
image file, which is a Windows app.
Thanks for the suggestions though, they are good ones :)
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|