Hello Chip,
    You're right, that's what I'm looking for; I want to be able to click on
the Rexx program of my choice and have it write its output (and trace output)
to a powerShell window instead of a DOS window.

Leslie

On 12/03/2013, you wrote:

> I may be out in left field here, but I think Leslie is asking about 
> creating a Windows shortcut that invokes the Powershell instead of the 
> Command Prompt shell.
>
> I'm interested in the answer as well.
>
> In XP, when you Create Shortcut, it doesn't seem to give you any way 
> to specify which shell you wish to invoke on a double-click, just 
> "Normal window", "maximized", and "minimized".
>
> -Chip-
>
> On 12/3/2013 09:59 Mark Miesfeld said:
>> On Mon, Dec 2, 2013 at 10:44 PM, J. Leslie Turriff
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>>     Hello Mark,
>>          Yes, I was hoping that there is a way to tell the interpreter
>>     to use the
>>     powerShell instead of the DOS shell; or is that something that's
>>     hard-coded
>>     in the interpreter binary?
>>
>>
>> Hi Leslie,
>>
>> I'm not really following what you are getting at.  I never bothered
>> with PowerShell, maybe that's why I'm not following you.
>>
>> I gave it a quick try, Rexx programs work pretty much as I would expect.
>>
>> Windows PowerShell
>> Copyright (C) 2012 Microsoft Corporation. All rights reserved.
>>
>> PS C:\work.ooRexx> cd
>> PS C:\work.ooRexx>
>> PS C:\work.ooRexx> cd .\wc\ooDialog\trunk\examples
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples> dir
>>
>>
>>      Directory: C:\work.ooRexx\wc\ooDialog\trunk\examples
>>
>>
>> Mode                LastWriteTime     Length Name
>> ----                -------------     ------ ----
>> d----          6/5/2013   4:52 PM            bmp
>> d----         9/13/2013  10:47 AM            controls
>> d----        11/15/2013   8:17 AM            examples
>> d----          6/5/2013   4:53 PM            menus
>> d----          6/5/2013   4:53 PM            mouse
>> d----          6/5/2013   4:53 PM            oleinfo
>> d----        11/22/2013  10:34 AM            ooRexxTry
>> d----        11/20/2013   6:56 AM            propertySheet.tabControls
>> d----         9/11/2013   9:23 PM            rc
>> d----         12/1/2013   1:50 PM            res
>> d----          6/5/2013   4:53 PM            resizableDialogs
>> d----          6/5/2013   4:53 PM            simple
>> d----          6/5/2013   4:53 PM            sysinfo
>> d----        11/22/2013  10:35 AM            tutorial
>> d----          6/5/2013   4:53 PM            userGuide
>> d----          6/5/2013   4:53 PM            wav
>> d----          6/5/2013   4:53 PM            winsystem
>> -a---         12/2/2013   7:19 PM      10877 AnimalGame.rex
>> -a---        11/18/2013   9:07 AM      12290 calculator.rex
>> -a---          1/3/2013   9:14 AM       8862 editrex.rex
>> -a---          1/3/2013   9:15 AM       8633 ftyperex.rex
>> -a---          1/3/2013   9:15 AM      24779 GUI_Template.rex
>> -a---         12/2/2013   7:20 PM      17617 oobandit.rex
>> -a---        11/22/2013  10:53 AM       5927 oobmpvu.rex
>> -a---        11/18/2013   9:38 AM       7734 oodpbar.rex
>> -a---          1/3/2013   9:15 AM       3368 ooDraw.h
>> -a---        11/18/2013   9:33 AM      27899 oodraw.rex
>> -a---        11/18/2013   9:41 AM      11319 oodStandardDialogs.rex
>> -a---        11/18/2013   9:40 AM      14102 oodStandardRoutines.rex
>> -a---         12/2/2013   7:20 PM      10882 oograph.rex
>> -a---         7/10/2012   5:38 PM        766 oophil.ico
>> -a---        11/18/2013   8:33 AM      17349 oophil.rex
>> -a---         12/2/2013   7:21 PM       7144 oovideo.rex
>> -a---        11/18/2013   8:48 AM      11228 oowalk2.rex
>> -a---        11/18/2013   8:59 AM      10287 oowalker.rex
>> -a---        11/18/2013   8:20 AM       6577 sample.rex
>> -a---        11/18/2013   9:16 AM       3802 samplesSetup.rex
>>
>>
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples> .\AnimalGame.rex
>>
>> And the AnimalGame.rex example executed as normal.
>>
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples> vs quick.rex
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples> quick
>> quick : The term 'quick' is not recognized as the name of a cmdlet,
>> function, script file, or operable
>> program. Check the spelling of the name, or if a path was included,
>> verify that the path is correct and try
>>
>> So, the PowerShell takes the rather Unix-like approach of not
>> executing programs in the current directory.  Try again:
>>
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples> rexx quick.rex
>> Hello World!
>> What is your name?
>> Mark
>> Hello Mark!
>>
>> So, my quick Rexx program runs as expected.
>>
>> Try again:
>>
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples>
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples>
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples> .\quick
>> Hello World!
>> What is your name?
>> Mark
>> Hello Mark!
>> PS C:\work.ooRexx\wc\ooDialog\trunk\examples>
>>
>> So - ooRexx works fine in PowerShell.
>>
>> --
>> Mark Miesfeld
>
>
------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into
> your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
> AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
Regards


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to