Re: Are execs data or programs?



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).
.



Relevant Pages

  • Are execs data or programs?
    ... I'm converting from WinRexx to ooRexx. ... Execs" or "Library" or something. ... My WinRexx file structure looks like this: ...
    (comp.lang.rexx)
  • Re: Are execs data or programs?
    ... interpreter as well as my execs are in subdirectories. ... Execs" or "Library" or something. ... I could also create a folder under My Documents ... one of my most-used WinRexx execs is a task timer. ...
    (comp.lang.rexx)
  • Execs called by scripts run but fail to make desired changes when ran through SMS 2003
    ... We have a particular application that uses Install Shield Scripting 8 to run ... some execs at the end of an Installer packaged application. ... or registering some DLL's are not made. ... that SMS is not getting the right security rights on the client machine to ...
    (microsoft.public.sms.swdist)
  • Execs called by scripts run but fail to make desired changes when ran through SMS 2003
    ... We have a particular application that uses Install Shield Scripting 8 to run ... some execs at the end of an Installer packaged application. ... or registering some DLL's are not made. ... that SMS is not getting the right security rights on the client machine to ...
    (microsoft.public.sms.installer)
  • Execs called by scripts run but fail to make desired changes when ran through SMS 2003
    ... We have a particular application that uses Install Shield Scripting 8 to run ... some execs at the end of an Installer packaged application. ... or registering some DLL's are not made. ... that SMS is not getting the right security rights on the client machine to ...
    (microsoft.public.sms.misc)