Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: REXX environment for Windows 7

24 May 2010   #1
HankAZ

Win7
 
 
REXX environment for Windows 7

Are there any decent free REXX environments (prefer compiler, but will live with an interpreter) for Windows 7? Much of my job is in writing and debugging REXX code, and if I could find a developer's kit for REXX that runs on my laptop, I'd be a happy guy...

Anyone?


My System SpecsSystem Spec
.

25 May 2010   #2
MilesAhead

Windows 7 32 bit
 
 

I haven't used REXX in awhile. But seems like the last time I looked the most advanced free release you could get for Windows was Regina. Don't know if it's out specifically for W7 but it's worth a look.

Seems the latest WinOS mentioned is XP. But it may run in compatibility mode. Usually interpreter packages aren't as touchy. AutoHotkey, AutoIt3, Python seem to not care if you have Vista/W7. Plus it was updated in Dec. 2009 so I'd say it's not dead yet.

http://regina-rexx.sourceforge.net/
My System SpecsSystem Spec
07 Sep 2011   #3
Ztruker

Windows 8.1 Pro X64
 
 

I know this is an old thread but I just came across it. I'm using IBM Object Rexx v2.13 under Windows 7 Pro X64 and it works okay. Not like it did under OS/2 but I can write some fairly complex programs with it and the file handling is excellent.
My System SpecsSystem Spec
.


23 Sep 2012   #4
DocDJ

Windows 7 Pro 64-bit
 
 

Has anyone found a way to invoke a Rexx program on Windows 7 WITHOUT prefixing it with the interpreter's name or specifying the extension (.rexx)?
In other words, can I append .rexx to the list of valid Windows executables?
As an alternative, can I compile my rexx/regina code to an .exe file?
My System SpecsSystem Spec
23 Sep 2012   #5
DocDJ

Windows 7 Pro 64-bit
 
 

Quote   Quote: Originally Posted by DocDJ View Post
Has anyone found a way to invoke a Rexx program on Windows 7 WITHOUT prefixing it with the interpreter's name or specifying the extension (.rexx)?
In other words, can I append .rexx to the list of valid Windows executables?
As an alternative, can I compile my rexx/regina code to an .exe file?
Answered my own question: the following program, rxtest.cmd, will start as a DOS batch command, then run itself as a Regina/Rexx program in a command prompt window. It does not require typing the file extension, which must be ".cmd". No system changes are required. Sometimes known as dual-environment program.

@rem /* running a Rexx cmd
@echo off
if NOT "%1"=="1" regina rxtest.cmd 1
goto end
rem */
say "hello world"
say "first parameter must be 1. Real Rexx parameters must follow it."
/*
:end
rem */
My System SpecsSystem Spec
24 Sep 2012   #6
Ztruker

Windows 8.1 Pro X64
 
 

I do something similar. Each Rexx program has a identically named .bat file that invokes it. For instance, I have a SyncMail.rexx program to keep E-mail between my laptop and dektop in sync. When I type syncmail, the batch file gets invoked.

syncmail.bat

Code:
@Echo off
rexx c:\rexxprogs\syncmail.rexx %1 %2 %3 %4 %5 %6 %7 %8 %9
My System SpecsSystem Spec
24 Sep 2012   #7
DocDJ

Windows 7 Pro 64-bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
I do something similar. Each Rexx program has a identically named .bat file that invokes it. For instance, I have a SyncMail.rexx program to keep E-mail between my laptop and dektop in sync. When I type syncmail, the batch file gets invoked.

syncmail.bat

Code:
@Echo off
rexx c:\rexxprogs\syncmail.rexx %1 %2 %3 %4 %5 %6 %7 %8 %9
I originally thought about doing that, but wanted something self-contained. It's too bad WIndows doesn't let you specify the interpreter you want, like Linux does. At least I haven't found a way to do it.
My System SpecsSystem Spec
25 Sep 2012   #8
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by DocDJ View Post
Quote   Quote: Originally Posted by Ztruker View Post
I do something similar. Each Rexx program has a identically named .bat file that invokes it. For instance, I have a SyncMail.rexx program to keep E-mail between my laptop and dektop in sync. When I type syncmail, the batch file gets invoked.

syncmail.bat

Code:
@Echo off
rexx c:\rexxprogs\syncmail.rexx %1 %2 %3 %4 %5 %6 %7 %8 %9
I originally thought about doing that, but wanted something self-contained. It's too bad WIndows doesn't let you specify the interpreter you want, like Linux does. At least I haven't found a way to do it.
You can get bash for win32. I haven't used Rexx with it that I remember. But I've used it to run Linux ports of tools such as "find" "ls" etc.. Using the regular command prompt there's too many slash backslash and other conflicts. Plus one liner scripts for "sed" and the like won't work as easily in cmd.exe.
My System SpecsSystem Spec
Reply

 REXX environment for Windows 7




Thread Tools





Similar help and support threads
Thread Forum
Windows 7 Environment Variables List
Environment Variable Path %ALLUSERSPROFILE% C:\ProgramData %APPDATA% C:\Users\{username}\AppData\Roaming %COMMONPROGRAMFILES% C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% C:\Program...
Performance & Maintenance
Windows 7 Environment variables
Is there an Environment variable that can tell me where the Documents folder is located? Typically, the Documents folder is located in C:\Users\username\Documents. I am creating a batch file to copy 1 file from a remote location (another computer in the network) to the Documents folder. Since...
General Discussion
How to restore Windows 7 Recovery Environment
Hi everyone, Today when I switched on my computer, mysteriously, a Windows 8-esque recovery menu popped up, those with huge buttons and Metro-fied, although my computer is running Windows 7. I decided to try it again, pressing F8 during startup and choosing 'Repair your computer' to trigger the...
Backup and Restore
MigWiz outside windows environment
Hi, Its possible to run migwiz outside windows environment ? I'm tired to try windows start up repair, all the options... The disk has no problems (hdd regenerator) and has no virus (windows defender offline) but I'm not able to repair this stupid annoying error. I'd like to migrate the...
General Discussion
Java, Windows 7 & Environment Variables
I have installed Java in Program Files (x86) > Java > jre > bin In Environment Variables, I accidentally deleted the default PATH variable. This is what I currently have in the PATH variable: Please can someone tell me what the default PATH was? I will add this in front of the Java path. ...
Software
securing windows 7 32/64 bit in a domain environment
Hey I need your guys' sugguestions on what to do to secure windows 7 in a domain environment what we've done so far is set most people to a standard user, set UAC to the second notch from the top, have DEP enabled for third party programs, have the default policy set in windows firewall advanced...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:17.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App