[REBOL] Re: can't call notepad
From: compkarori:gma:il at: 14-May-2008 13:28
Try
call/show "notepad.exe c:\rebol\fred.txt"
or
call/shell "notepad.exe c:\rebol\fred.txt"
if using 2.7.6
On Wed, May 14, 2008 at 1:15 PM, Rosemary de Dear <rcm-formix.com.au> wrote:
> Hello list,
>
> The following works fine on my PC, but hasn't worked on a friend's PC ever
> since she got a new machine; it's running XP as before.
>
> When invoking notepad, I get a black (could be DOS box) flash briefly
> after agreeing to the Rebol security check, then notepad launches with the
> txt file. However, there's not even a black flash on her machine.
>
> When calling the FTP programme, her machine plays the "connected" .wav
> alert, but no WS-FTP screens are visible.
>
> I've shown the variations I've tried to call the external programmes. Is
> anyone able to shed some light on this problem?
>
> Regards, Rosemary
>
> REBOL []
>
> main: layout [
> origin 100x100 space 5x5
> button "Text 1" [call reduce ["notepad.exe" rejoin [c:\rebol\fred.txt]]]
> button "Text 2" [call reduce ["notepad.exe" c:\rebol\fred.txt]]
> button "Text 3" [call "notepad.exe c:\rebol\fred.txt"]
> ;button "Text 4" [call reduce ["notepad.exe" rejoin ["fred.txt"]]]
> button "FTP 1" [call "c:\program files\WS_FTP\WS_FTP95.exe"]
> button "FTP 2" [call "c:\program files\WS_FTP\WS_FTP95.exe"]
> ]
>
> view center-face main
>
> --
>
> message ends
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
Graham Chiu
http://www.synapsedirect.com
Synapse - the use from anywhere EMR.