Re: Are execs data or programs?
- From: Gil Barmwater <gil_b@xxxxxxxxxxxxx>
- Date: Fri, 19 Sep 2008 07:54:42 -0400
Three Lefts wrote:
I'm converting from WinRexx (Quercus) to ooRexx. I am wondering what
file structure I should use? This will be on Windsows XP.
WinRexx installed itself in the root directory (C:\WINREX32) and the
interpreter as well as my execs are in subdirectories.
ooRexx installed itself in C:\Program Files\ooRexx and put a \Samples
subdirectory under that.
My inclination is to create another subfolder under \ooRexx called "My
Execs" or "Library" or something. Is that the recommended (or
standard) structure? I could also create a folder under My Documents
called "My Execs" or something. The advantage to that is any data they
need can be in the same folder. Execs are not data, but most of mine
will be special-purpose utility programs that use a few data files.
It's easier to keep all together.
For example, one of my most-used WinRexx execs is a task timer. It
keeps track of my time for various clients. I have the exec and all of
its data files in one folder. Very handy for debugging.
My WinRexx file structure looks like this:
C:\WINREX32
\Library
\Execs
\Financial
\FnLib
\TaskTimer
\Temp
Would it be better to do something like this under \ooRexx:
C:\Program Files
\ooRexx
\Library
\Execs
\Financial
\FnLib
\TaskTimer
\Temp
or under My Documents?
Does ooRexx care if I create new subfolders under \ooRexx?
No, it doesn't care ... but I wouldn't recommend it. There have been some instances where someone did that (and I know of quite a few that have) that have lost everything when they "upgraded" to a new release.
My personal setup is ooRexx in the Program Files default location but I work out of C:\Rexx\dev where most of my scripts (*.rex) reside. I use the association of .rex with the interpreter (the default install option) so I can type: myscript.rex at a command prompt to run the program (instead of rexx myscript or rexx myscript.rex). I have also created a "tools" folder and added it to my path so I can run common scripts from any drive or directory. Finally, the scripts that interact with the user using ooDialog - the GUI that is part of ooRexx - have shortcuts on my desktop that invoke rexxhide.exe (which prevents a cmd window from opening when the program starts).
.
- Follow-Ups:
- Re: Are execs data or programs?
- From: Three Lefts
- Re: Are execs data or programs?
- References:
- Are execs data or programs?
- From: Three Lefts
- Are execs data or programs?
- Prev by Date: Re: Best way to invoke ooRexx execs on WinXP?
- Next by Date: Re: Are execs data or programs?
- Previous by thread: Are execs data or programs?
- Next by thread: Re: Are execs data or programs?
- Index(es):
Relevant Pages
|