🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Mike Dee Thu, 29 Mar 2007 11:20
[XPN] Another dumb user question - Nem?
#197135
Author: Mike Dee
Date: Thu, 29 Mar 2007 11:20
8 lines
1348 bytes
When using an external application. Is it possible to launch the
external without launching CMD.EXE, too? Another command to use in
the Misc preferences as well as <application.exe %s>?

Doesn't really matter if this is not possible.

-- 
dee
Re: Another dumb user question - Nem?
#197144
Author: Nemesis
Date: Thu, 29 Mar 2007 13:19
12 lines
1965 bytes
On Mar 29, 1:20 pm, Mike Dee <mike...@emteedee.invalid> wrote:
> When using an external application. Is it possible to launch the
> external without launching CMD.EXE, too? Another command to use in
> the Misc preferences as well as <application.exe %s>?
>
> Doesn't really matter if this is not possible.

To be honest, I don't know. I'd have to check but right now my PC is
broken, and I cannot use XPN until I get it repaired.
What do you mean with 'another command'? you can only the external
command only for the browser and the editor.
Re: Another dumb user question - Nem?
#197149
Author: Mike Dee
Date: Thu, 29 Mar 2007 14:50
34 lines
2245 bytes
Nemesis wrote:

> On Mar 29, 1:20 pm, Mike Dee <mike...@emteedee.invalid> wrote:
>> When using an external application. Is it possible to launch the
>> external without launching CMD.EXE, too? Another command to use in
>> the Misc preferences as well as <application.exe %s>?
>>
>> Doesn't really matter if this is not possible.
>
> To be honest, I don't know. I'd have to check but right now my PC is
> broken, and I cannot use XPN until I get it repaired.
> What do you mean with 'another command'? you can only the external
> command only for the browser and the editor.

Sorry to hear that, Nemesis.

What I mean by 'another command' is based on the examples you give in
the Misc Preferences:

xterm -e %s
gvim -f %s
notepad.exe %s

I was hoping I could use a -e or -f or -anything along with the %s and
the CMD.EXE wouldn't appear.

It's not important, CMD.EXE disappears along with my external editor
when it's done...

Thanks.

-- 
dee
Re: Another dumb user question - Nem?
#197165
Author: Nemesis
Date: Fri, 30 Mar 2007 06:36
8 lines
1834 bytes
On Mar 29, 4:50 pm, Mike Dee <mike...@emteedee.invalid> wrote:
> I was hoping I could use a -e or -f or -anything along with the %s and
> the CMD.EXE wouldn't appear.

Ah OK, I don't think you can use a command line switch to do that. I
think it depends on the way I launch the external command, but now I
can't test it.
Re: Another dumb user question - Nem?
#197213
Author: Robert Singers
Date: Fri, 30 Mar 2007 23:52
20 lines
2522 bytes
Between saving the world and having a spot of tea Mike Dee said

> What I mean by 'another command' is based on the examples you give in
> the Misc Preferences:
> 
> xterm -e %s
> gvim -f %s
> notepad.exe %s
> 
> I was hoping I could use a -e or -f or -anything along with the %s and
> the CMD.EXE wouldn't appear.

Mike I'm not 100% sure I know what you're talking about but have you tried 
"start notepad.exe %s".  It might start a seperate process and dump the one 
spawned by XPN, doing what you want.

-- 
rob singers
pull finger to reply
Foemina Erit Ruina Tua
Re: Another dumb user question - Nem?
#197229
Author: Mike Dee
Date: Sat, 31 Mar 2007 02:11
38 lines
2525 bytes
Robert Singers wrote:

>> I was hoping I could use a -e or -f or -anything along with the %s and
>> the CMD.EXE wouldn't appear.
>
> Mike I'm not 100% sure I know what you're talking about but have you tried 
> "start notepad.exe %s".  It might start a seperate process and dump the one 
> spawned by XPN, doing what you want.

Hi Robert

This is for my external editor, Jarte. I'll give your suggestion a go
with this post, thanks.

With out quotes, I take it, "start Jarte.exe %s"

Oops. No. using the prefix "start" in the command does kill the CMD.EXE
window (it appears for a split second) but the file "temp_article.txt"
doesn't get passed to the external editor.

Jarte reports with this error message:
File "temp_article.txt" could not be found. [OK]

It looks as though CMD.EXE is needed to create the temp file (and to
destroy it once you have done with the external I assume) so that
the external app can load it.

Never mind, I can live with CMD.EXE being present I was just hoping it
could be made into an invisible step of the process.

The title of this thread is fairly apt, I think :-)

Thanks again.

-- 
dee

Re: Another dumb user question - Nem?
#197230
Author: Mike Dee
Date: Sat, 31 Mar 2007 02:15
12 lines
1628 bytes
Nemesis wrote:

> Ah OK, I don't think you can use a command line switch to do that. I
> think it depends on the way I launch the external command, but now I
> can't test it.

No problem, Nem. It's not a big issue for me that I can't survive :-)

Thanks.

-- 
dee
Re: Another dumb user question - Nem?
#197263
Author: Robert Singers
Date: Sat, 31 Mar 2007 11:08
31 lines
3255 bytes
Between saving the world and having a spot of tea Mike Dee said

> This is for my external editor, Jarte. I'll give your suggestion a go
> with this post, thanks.
> 
> With out quotes, I take it, "start Jarte.exe %s"
> 
> Oops. No. using the prefix "start" in the command does kill the CMD.EXE
> window (it appears for a split second) but the file "temp_article.txt"
> doesn't get passed to the external editor.
> 
> Jarte reports with this error message:
> File "temp_article.txt" could not be found. [OK]
> 
> It looks as though CMD.EXE is needed to create the temp file (and to
> destroy it once you have done with the external I assume) so that
> the external app can load it.

I gather you're using something like Windows XP.  Type "HELP START" at the 
command line and have a look at the "I" paramater for the start command.

The other thing is try creating a batch file with "start jarte.exe %1" as 
the only line in it and call the batch file from XPN with the %s on the 
command line.  It might pay also to use a batch file to echo %s to see 
exactly what is being passed, if it contains spaces you may want to enclose 
it in quotes.

-- 
rob singers
pull finger to reply
Foemina Erit Ruina Tua
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads