Menu passwords

Bob Stockler bob at trebor.iglou.com
Thu Aug 19 18:11:42 PDT 2004


On Thu, Aug 19, 2004 at 07:31:51PM -0400, GCC Consulting wrote:
|
| Is there an easy way, without sending it to fpsupport, to remove a menu
| password?

Get a free, fully functional (but time-limited) demo of
MENU EDIT II.  It works on UNIX, Linux and Windows.

When using it and bringing up a filePro User Menu to edit:

  [P] in the lower right corner of the Main Menu Screen indicates
  the Menu has a password.  Typing [P] at the Main Menu Screen will
  initiate the Password Manager, by which passwords may be assigned
  for, changed or removed from a Menu.

See my sig below for more info on how to get MENU EDIT II.

In the meanwhile, filePro User Menus consist of three (or
less, according to the version of filePro on which they
were created on) newline separated records.  The last of
these records is the password (alone by itself).

An exception is if the first character in the menu is a
newline character (the first character in a menu file tells
"runmenu" in which element is the last of the possible 24
to be displayed - it's possible for it to be a newline
character, so there would apparently be four records).

On UNIX/Linux you could do:

  wc -l menu_name

and, if it returned 3, you could do:

  gawk '
   NR==1 { print }
   NR==2 { print } ' menu_name > new_menu_name

or, if it returned 4, do:
  
  gawk '
   NR==1 { print }
   NR==2 { print }
   NR==3 { print } ' menu_name > new_menu_name

In either case, then bring up "new_menu_name" in dmakemenu
and save it, then test bringing it up.

If that doesn't work, try my first suggestion.

Bob

PS - I'm pretty sure any flavor of AWK would work in place of
     the "gawk" suggested above, but I'm _sure_ it works.

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list